diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-03-26 12:32:40 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-03-26 12:32:40 +0000 |
commit | cf1a838894c7e31464ac967dfb6da0bedd82ff91 (patch) | |
tree | 2064564e6c80408fe457037d26dc6417523cdb3b /src/include/gnunet_strings_lib.h | |
parent | 117335dc011ddbfb08bc71391c2dadf6ba28c4bf (diff) | |
download | gnunet-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.h | 21 |
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); | |||
121 | char * | 121 | char * |
122 | GNUNET_STRINGS_from_utf8 (const char *input, size_t len, const char *charset); | 122 | GNUNET_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 | */ | ||
131 | void | ||
132 | GNUNET_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 | */ | ||
142 | void | ||
143 | GNUNET_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. |