#include <stdio.h>
Go to the source code of this file.
Defines | |
#define | CDDB_ERROR_H 1 |
Enumerations | |
enum | cddb_error_t { CDDB_ERR_OK = 0, CDDB_ERR_OUT_OF_MEMORY, CDDB_ERR_LINE_SIZE, CDDB_ERR_NOT_IMPLEMENTED, CDDB_ERR_UNKNOWN, CDDB_ERR_SERVER_ERROR, CDDB_ERR_UNKNOWN_HOST_NAME, CDDB_ERR_CONNECT, CDDB_ERR_PERMISSION_DENIED, CDDB_ERR_NOT_CONNECTED, CDDB_ERR_UNEXPECTED_EOF, CDDB_ERR_INVALID_RESPONSE, CDDB_ERR_DISC_NOT_FOUND, CDDB_ERR_DATA_MISSING, CDDB_ERR_TRACK_NOT_FOUND, CDDB_ERR_REJECTED, CDDB_ERR_EMAIL_INVALID, CDDB_ERR_INVALID_CHARSET, CDDB_ERR_ICONV_FAIL, CDDB_ERR_LAST } |
A list of error codes returned by various libcddb functions. More... | |
Functions | |
const char * | cddb_error_str (cddb_error_t errnum) |
Returns a string representation of the CDDB error code. | |
void | cddb_error_stream_print (FILE *stream, cddb_error_t errnum) |
Prints the error message associated with the current error number on the given stream. | |
void | cddb_error_print (cddb_error_t errnum) |
Prints the error message associated with the current error number to stderr. |
|
|
|
|
Prints the error message associated with the current error number to stderr.
|
|
Returns a string representation of the CDDB error code.
|
|
Prints the error message associated with the current error number on the given stream.
|