diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-03 12:29:12 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-03 07:37:07 +0200 |
commit | 80f1d49b61560f326fb55f2df09cc4f30e7a85ea (patch) | |
tree | 5bc73a35dd8e5dc2169cfb11fbec8c7f632d1932 /source3/include | |
parent | 7c083caf741d4f12cdf630026e02d9f07a64d0fb (diff) | |
download | samba-80f1d49b61560f326fb55f2df09cc4f30e7a85ea.tar.gz samba-80f1d49b61560f326fb55f2df09cc4f30e7a85ea.tar.bz2 samba-80f1d49b61560f326fb55f2df09cc4f30e7a85ea.zip |
lib/util/charset Use push_string and talloc_strupper/strlower from common code
The only caller of push_string() (not to be confused with
push_string_check()) in the common code was encode_pw_buffer(), and it
didn't use the alignment or STR_UPPER flags.
The talloc_strupper() and talloc_strlower() functions are tested in
smbtorture, and are next_codepoint() based.
Andrew Bartlett
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 086ba6c557..e8ce418ab2 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -82,10 +82,6 @@ bool convert_string_error(charset_t from, charset_t to, void const *src, size_t srclen, void *dest, size_t destlen, size_t *converted_size); -char *talloc_strdup_upper(TALLOC_CTX *ctx, const char *s); -char *strupper_talloc(TALLOC_CTX *ctx, const char *s); -char *talloc_strdup_lower(TALLOC_CTX *ctx, const char *s); -char *strlower_talloc(TALLOC_CTX *ctx, const char *s); size_t ucs2_align(const void *base_ptr, const void *p, int flags); size_t push_ascii(void *dest, const char *src, size_t dest_len, int flags); size_t push_ascii_fstring(void *dest, const char *src); |