summaryrefslogtreecommitdiff
path: root/lib/util/util.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-03 16:43:27 -0700
committerJeremy Allison <jra@samba.org>2011-05-04 22:14:14 +0200
commitff215f5c89c91a22c910400c8ac81d82d7459ba0 (patch)
treef94e9884bc1058e0726f676371c45df3ccdb3747 /lib/util/util.h
parent8380835fc6de38706d9af29dc7f0fa4cec4f9c90 (diff)
downloadsamba-ff215f5c89c91a22c910400c8ac81d82d7459ba0.tar.gz
samba-ff215f5c89c91a22c910400c8ac81d82d7459ba0.tar.bz2
samba-ff215f5c89c91a22c910400c8ac81d82d7459ba0.zip
I added them, so I get to kill them :-). Finally remove all uses of safe_strcpy and safe_strcat. Change to strlcpy, strlcat.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 4 22:14:14 CEST 2011 on sn-devel-104
Diffstat (limited to 'lib/util/util.h')
-rw-r--r--lib/util/util.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/util/util.h b/lib/util/util.h
index 45f1b9cd79..64793022c0 100644
--- a/lib/util/util.h
+++ b/lib/util/util.h
@@ -247,18 +247,6 @@ _PUBLIC_ bool trim_string(char *s, const char *front, const char *back);
_PUBLIC_ _PURE_ size_t count_chars(const char *s, char c);
/**
- Safe string copy into a known length string. maxlength does not
- include the terminating zero.
-**/
-_PUBLIC_ char *safe_strcpy_fn(char *dest,const char *src, size_t maxlength);
-
-/**
- Safe string cat into a string. maxlength does not
- include the terminating zero.
-**/
-_PUBLIC_ char *safe_strcat_fn(char *dest, const char *src, size_t maxlength);
-
-/**
Routine to get hex characters and turn them into a 16 byte array.
the array can be variable length, and any non-hex-numeric
characters are skipped. "0xnn" or "0Xnn" is specially catered