aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_strings_lib.h
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2012-03-26 12:32:40 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2012-03-26 12:32:40 +0000
commitcf1a838894c7e31464ac967dfb6da0bedd82ff91 (patch)
tree2064564e6c80408fe457037d26dc6417523cdb3b /src/include/gnunet_strings_lib.h
parent117335dc011ddbfb08bc71391c2dadf6ba28c4bf (diff)
downloadgnunet-cf1a838894c7e31464ac967dfb6da0bedd82ff91.tar.gz
gnunet-cf1a838894c7e31464ac967dfb6da0bedd82ff91.zip
-utf8 tolower/upper
Diffstat (limited to 'src/include/gnunet_strings_lib.h')
-rw-r--r--src/include/gnunet_strings_lib.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h
index 55b96fc2c..2eebfecff 100644
--- a/src/include/gnunet_strings_lib.h
+++ b/src/include/gnunet_strings_lib.h
@@ -121,6 +121,27 @@ GNUNET_STRINGS_to_utf8 (const char *input, size_t len, const char *charset);
121char * 121char *
122GNUNET_STRINGS_from_utf8 (const char *input, size_t len, const char *charset); 122GNUNET_STRINGS_from_utf8 (const char *input, size_t len, const char *charset);
123 123
124/**
125 * Convert the utf-8 input string to lowercase
126 * Output needs to be allocated appropriately
127 *
128 * @param input input string
129 * @param output output buffer
130 */
131void
132GNUNET_STRINGS_utf8_tolower(const char* input, char** output);
133
134
135/**
136 * Convert the utf-8 input string to lowercase
137 * Output needs to be allocated appropriately
138 *
139 * @param input input string
140 * @param output output buffer
141 */
142void
143GNUNET_STRINGS_utf8_toupper(const char* input, char** output);
144
124 145
125/** 146/**
126 * Complete filename (a la shell) from abbrevition. 147 * Complete filename (a la shell) from abbrevition.