summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-06-19 04:22:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:44 -0500
commitaba5a2df325cf1963ab716f90b630600cd8ba5cf (patch)
treed768c48b6e2c4b0a89bbd18c0c96f0adab4e8c55 /source4/lib
parentd46b9aa96fa97be03e76dde29bf07fc273a0efd0 (diff)
downloadsamba-aba5a2df325cf1963ab716f90b630600cd8ba5cf.tar.gz
samba-aba5a2df325cf1963ab716f90b630600cd8ba5cf.tar.bz2
samba-aba5a2df325cf1963ab716f90b630600cd8ba5cf.zip
r1196: Remove unused pstring/fstring functions.
Andrew Bartlett (This used to be commit 4f06bf4ab8cc61aec730f84766306119eb976c57)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/charcnv.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/source4/lib/charcnv.c b/source4/lib/charcnv.c
index c3ef45d038..b84814b41c 100644
--- a/source4/lib/charcnv.c
+++ b/source4/lib/charcnv.c
@@ -368,16 +368,6 @@ ssize_t push_ascii(void *dest, const char *src, size_t dest_len, int flags)
return convert_string(CH_UNIX, CH_DOS, src, src_len, dest, dest_len);
}
-ssize_t push_ascii_fstring(void *dest, const char *src)
-{
- return push_ascii(dest, src, sizeof(fstring), STR_TERMINATE);
-}
-
-ssize_t push_ascii_pstring(void *dest, const char *src)
-{
- return push_ascii(dest, src, sizeof(pstring), STR_TERMINATE);
-}
-
ssize_t push_pstring(void *dest, const char *src)
{
return push_ascii(dest, src, sizeof(pstring), STR_TERMINATE);
@@ -424,16 +414,6 @@ ssize_t pull_ascii(char *dest, const void *src, size_t dest_len, size_t src_len,
return src_len;
}
-ssize_t pull_ascii_pstring(char *dest, const void *src)
-{
- return pull_ascii(dest, src, sizeof(pstring), -1, STR_TERMINATE);
-}
-
-ssize_t pull_ascii_fstring(char *dest, const void *src)
-{
- return pull_ascii(dest, src, sizeof(fstring), -1, STR_TERMINATE);
-}
-
/**
* Copy a string from a char* src to a unicode destination.
*
@@ -550,16 +530,6 @@ ssize_t push_utf8(void *dest, const char *src, size_t dest_len, int flags)
return convert_string(CH_UNIX, CH_UTF8, src, src_len, dest, dest_len);
}
-ssize_t push_utf8_fstring(void *dest, const char *src)
-{
- return push_utf8(dest, src, sizeof(fstring), STR_TERMINATE);
-}
-
-ssize_t push_utf8_pstring(void *dest, const char *src)
-{
- return push_utf8(dest, src, sizeof(pstring), STR_TERMINATE);
-}
-
/**
* Copy a string from a unix char* src to a UTF-8 destination, allocating a buffer using talloc
*
@@ -643,11 +613,6 @@ ssize_t pull_ucs2_pstring(char *dest, const void *src)
return pull_ucs2(NULL, dest, src, sizeof(pstring), -1, STR_TERMINATE);
}
-ssize_t pull_ucs2_fstring(char *dest, const void *src)
-{
- return pull_ucs2(NULL, dest, src, sizeof(fstring), -1, STR_TERMINATE);
-}
-
/**
* Copy a string from a UCS2 src to a unix char * destination, allocating a buffer using talloc
*
@@ -713,16 +678,6 @@ ssize_t pull_utf8(char *dest, const void *src, size_t dest_len, size_t src_len,
return src_len;
}
-ssize_t pull_utf8_pstring(char *dest, const void *src)
-{
- return pull_utf8(dest, src, sizeof(pstring), -1, STR_TERMINATE);
-}
-
-ssize_t pull_utf8_fstring(char *dest, const void *src)
-{
- return pull_utf8(dest, src, sizeof(fstring), -1, STR_TERMINATE);
-}
-
/**
* Copy a string from a UTF-8 src to a unix char * destination, allocating a buffer using talloc
*