From 43b2081b8d5e23c8582e2729f18ccd7555be8a40 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 30 Jan 2016 11:50:24 +0000 Subject: Add lwc_string_tolower() API. --- include/libwapcaplet/libwapcaplet.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/libwapcaplet/libwapcaplet.h b/include/libwapcaplet/libwapcaplet.h index 4c0fc71..c0e8c29 100644 --- a/include/libwapcaplet/libwapcaplet.h +++ b/include/libwapcaplet/libwapcaplet.h @@ -105,6 +105,16 @@ extern lwc_error lwc_intern_substring(lwc_string *str, size_t ssoffset, size_t sslen, lwc_string **ret); +/** + * Optain a lowercased lwc_string from given lwc_string. + * + * @param str String to create lowercase string from. + * @param ret Pointer to ::lwc_string pointer to fill out. + * @return Result of operation, if not OK then the value pointed + * to by \a ret will not be valid. + */ +extern lwc_error lwc_string_tolower(lwc_string *str, lwc_string **ret); + /** * Increment the reference count on an lwc_string. * -- cgit v1.2.3