Function gnunet_sys::GNUNET_STRINGS_buffer_tokenize [−][src]
pub unsafe extern "C" fn GNUNET_STRINGS_buffer_tokenize(
buffer: *const c_char,
size: usize,
count: c_uint,
...
) -> c_uint
Given a buffer of a given size, find “count” 0-terminated strings in the buffer and assign the count (varargs) of type “const char**” to the locations of the respective strings in the buffer.
@param buffer the buffer to parse @param size size of the @a buffer @param count number of strings to locate @param … pointers to where to store the strings @return offset of the character after the last 0-termination in the buffer, or 0 on error.