aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_strings_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_strings_lib.h')
-rw-r--r--src/include/gnunet_strings_lib.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h
index 3e15a24c8..dd78aee35 100644
--- a/src/include/gnunet_strings_lib.h
+++ b/src/include/gnunet_strings_lib.h
@@ -69,8 +69,8 @@ char *GNUNET_STRINGS_byte_size_fancy (unsigned long long size);
69 * @param charset character set to convert from 69 * @param charset character set to convert from
70 * @return the converted string (0-terminated) 70 * @return the converted string (0-terminated)
71 */ 71 */
72char *GNUNET_STRINGS_to_utf8 (const char *input, 72char *GNUNET_STRINGS_to_utf8 (const char *input, size_t len,
73 size_t len, const char *charset); 73 const char *charset);
74 74
75 75
76/** 76/**
@@ -104,8 +104,8 @@ char *GNUNET_STRINGS_filename_expand (const char *fil);
104 * @return number of bytes written to the buffer 104 * @return number of bytes written to the buffer
105 * (or number of bytes that would have been written) 105 * (or number of bytes that would have been written)
106 */ 106 */
107size_t GNUNET_STRINGS_buffer_fill (char *buffer, 107size_t GNUNET_STRINGS_buffer_fill (char *buffer, size_t size,
108 size_t size, unsigned int count, ...); 108 unsigned int count, ...);
109 109
110 110
111/** 111/**
@@ -122,8 +122,7 @@ size_t GNUNET_STRINGS_buffer_fill (char *buffer,
122 * @return offset of the character after the last 0-termination 122 * @return offset of the character after the last 0-termination
123 * in the buffer, or 0 on error. 123 * in the buffer, or 0 on error.
124 */ 124 */
125unsigned int GNUNET_STRINGS_buffer_tokenize (const char *buffer, 125unsigned int GNUNET_STRINGS_buffer_tokenize (const char *buffer, size_t size,
126 size_t size,
127 unsigned int count, ...); 126 unsigned int count, ...);
128 127
129 128