Google

libshout documentation

libshout version 1.0.4 - 20000824

shout_init_connection

declared in <shout/shout.h>

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.




copyright © 2000 icecast team

www.icecast.org
team@icecast.org

libshout documentation

libshout version 1.0.4 - 20000824