The function must match this prototype:
The data passed to this function will not be zero terminated! You cannot, for
example, use printf’s “%s” operator to display the contents nor strcpy to copy
it.
The user pointer passed in to the callback in the userdata argument is set
with :