diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-12-06 14:57:58 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-12-16 14:46:16 -0500 |
commit | dbea04f585a30d001b574317c068cd03a4fa332b (patch) | |
tree | f192eea6f1777f8442b625485f788bf2b411b5bc /src/util/util.h | |
parent | f7255e5d207800eb86003ec926951c0a6397aa04 (diff) | |
download | sssd-dbea04f585a30d001b574317c068cd03a4fa332b.tar.gz sssd-dbea04f585a30d001b574317c068cd03a4fa332b.tar.bz2 sssd-dbea04f585a30d001b574317c068cd03a4fa332b.zip |
sss_utf8_tolower utility function+unit tests
Diffstat (limited to 'src/util/util.h')
-rw-r--r-- | src/util/util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h index 9a006471..4ff112b7 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -502,4 +502,10 @@ errno_t sss_filter_sanitize(TALLOC_CTX *mem_ctx, char * sss_escape_ip_address(TALLOC_CTX *mem_ctx, int family, const char *addr); +/* from sss_tc_utf8.c */ +char * +sss_tc_utf8_str_tolower(TALLOC_CTX *mem_ctx, const char *s); +uint8_t * +sss_tc_utf8_tolower(TALLOC_CTX *mem_ctx, const uint8_t *s, size_t len, size_t *_nlen); + #endif /* __SSSD_UTIL_H__ */ |