XMMS2
Data Structures | Macros | Typedefs | Functions
xmms_error.h File Reference
#include <glib.h>
#include <xmmsc/xmmsc_errorcodes.h>
#include <xmmsc/xmmsc_compiler.h>

Data Structures

struct  xmms_error_St
 

Macros

#define XMMS_ERROR_MESSAGE_MAXLEN   255
 
#define xmms_error_iserror(e)   ((e)->code != XMMS_ERROR_NONE)
 
#define xmms_error_isok(e)   ((e)->code == XMMS_ERROR_NONE)
 
#define xmms_error_type_get(e)   ((e)->code)
 

Typedefs

typedef G_BEGIN_DECLS struct
xmms_error_St 
xmms_error_t
 

Functions

const gchar * xmms_error_message_get (xmms_error_t *err)
 Get the human readable error. More...
 

Macro Definition Documentation

#define xmms_error_iserror (   e)    ((e)->code != XMMS_ERROR_NONE)
#define xmms_error_isok (   e)    ((e)->code == XMMS_ERROR_NONE)
#define XMMS_ERROR_MESSAGE_MAXLEN   255
#define xmms_error_type_get (   e)    ((e)->code)

Typedef Documentation

typedef G_BEGIN_DECLS struct xmms_error_St xmms_error_t