The shout_strerror function turns a numeric error code into a human readable
error message.
char *shout_strerror(
shout_conn_t *self, /* pointer to the connection structure */
int error, /* the error code */
char namespace, /* where the message will be stored */
int maxlen /* the maximum length the message can be */
);
Parameters
self
pointer to the connection structure
error
the number error code usually found in self->error
namespace
the buffer where shout_strerror() will store the message
maxlen
the maximum length of the namespace buffer
Return Values
Returns a pointer to namespace, if successful, and NULL if not. Namespace will contain the human readable error message.