diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2016-01-30 11:50:24 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2016-01-30 12:17:21 +0000 |
commit | 43b2081b8d5e23c8582e2729f18ccd7555be8a40 (patch) | |
tree | 6c08f1930b7045606ee3138aa3c664d4d8eff99c /include/libwapcaplet | |
parent | 86508f207b5fbb26db06dd9411d08bb0b9bfa6c8 (diff) | |
download | libwapcaplet-43b2081b8d5e23c8582e2729f18ccd7555be8a40.tar.gz libwapcaplet-43b2081b8d5e23c8582e2729f18ccd7555be8a40.tar.bz2 |
Add lwc_string_tolower() API.
Diffstat (limited to 'include/libwapcaplet')
-rw-r--r-- | include/libwapcaplet/libwapcaplet.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ -106,6 +106,16 @@ extern lwc_error lwc_intern_substring(lwc_string *str, 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. * * This increases the reference count on the given string. You should |