summaryrefslogtreecommitdiff
path: root/lib/util/charset/charset.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-10-31 02:02:16 +0200
committerMichael Adam <obnox@samba.org>2010-11-03 22:45:20 +0000
commit9b86df8ce86411e774515fdcb3f5c9826ecb91d2 (patch)
tree950f31c3e9ce5f3cbf001fe11d3d1383ec8bea0a /lib/util/charset/charset.h
parent82c8b31ebce2783e439399f662591b03ab5a1960 (diff)
downloadsamba-9b86df8ce86411e774515fdcb3f5c9826ecb91d2.tar.gz
samba-9b86df8ce86411e774515fdcb3f5c9826ecb91d2.tar.bz2
samba-9b86df8ce86411e774515fdcb3f5c9826ecb91d2.zip
lib/util/charset/util_unistr: add strlen_m_ext_term() - variant of strlen_m_ext() counting terminator
Diffstat (limited to 'lib/util/charset/charset.h')
-rw-r--r--lib/util/charset/charset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util/charset/charset.h b/lib/util/charset/charset.h
index 8222a0586e..92ea7304bf 100644
--- a/lib/util/charset/charset.h
+++ b/lib/util/charset/charset.h
@@ -121,6 +121,8 @@ struct smb_iconv_convenience;
char *strchr_m(const char *s, char c);
size_t strlen_m_ext(const char *s, charset_t src_charset, charset_t dst_charset);
+size_t strlen_m_ext_term(const char *s, charset_t src_charset,
+ charset_t dst_charset);
size_t strlen_m_term(const char *s);
size_t strlen_m_term_null(const char *s);
size_t strlen_m(const char *s);