summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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
*