|
xmmsv_t * | xmmsv_new_none (void) XMMS_PUBLIC |
| Allocates a new empty xmmsv_t. More...
|
|
xmmsv_t * | xmmsv_new_error (const char *errstr) XMMS_PUBLIC |
| Allocates a new error xmmsv_t. More...
|
|
xmmsv_t * | xmmsv_new_int (int64_t i) XMMS_PUBLIC |
| Allocates a new integer xmmsv_t. More...
|
|
xmmsv_t * | xmmsv_new_float (float i) XMMS_PUBLIC |
| Allocates a new float xmmsv_t. More...
|
|
xmmsv_t * | xmmsv_new_string (const char *s) XMMS_PUBLIC |
| Allocates a new string xmmsv_t. More...
|
|
xmmsv_t * | xmmsv_new_bin (const unsigned char *data, unsigned int len) XMMS_PUBLIC |
| Allocates a new binary data xmmsv_t. More...
|
|
xmmsv_t * | xmmsv_copy (xmmsv_t *val) XMMS_PUBLIC |
| Return a new value object which is a deep copy of the input value. More...
|
|
xmmsv_t * | xmmsv_coll_copy (xmmsv_t *orig_coll) XMMS_PUBLIC XMMS_DEPRECATED |
|
xmmsv_t * | xmmsv_ref (xmmsv_t *val) XMMS_PUBLIC |
| References the xmmsv_t. More...
|
|
void | xmmsv_unref (xmmsv_t *val) XMMS_PUBLIC |
| Decreases the references for the xmmsv_t When the number of references reaches 0 it will be freed. More...
|
|
xmmsv_type_t | xmmsv_get_type (const xmmsv_t *val) XMMS_PUBLIC |
| Get the type of the value. More...
|
|
int | xmmsv_is_type (const xmmsv_t *val, xmmsv_type_t t) XMMS_PUBLIC |
| Check if value is of specified type. More...
|
|
int | xmmsv_get_error (const xmmsv_t *val, const char **r) XMMS_PUBLIC |
| Retrieves an error string describing the server error from the value. More...
|
|
int | xmmsv_get_int32 (const xmmsv_t *val, int32_t *r) XMMS_PUBLIC |
| Retrieves a signed integer from the value. More...
|
|
int | xmmsv_get_int64 (const xmmsv_t *val, int64_t *r) XMMS_PUBLIC |
| Retrieves a signed integer from the value. More...
|
|
int | xmmsv_get_float (const xmmsv_t *val, float *r) XMMS_PUBLIC |
| Retrieves a float from the value. More...
|
|
int | xmmsv_get_string (const xmmsv_t *val, const char **r) XMMS_PUBLIC |
| Retrieves a string from the value. More...
|
|
int | xmmsv_get_coll (const xmmsv_t *val, xmmsv_t **coll) XMMS_PUBLIC XMMS_DEPRECATED |
| Retrieves a collection from the value. More...
|
|
int | xmmsv_get_bin (const xmmsv_t *val, const unsigned char **r, unsigned int *rlen) XMMS_PUBLIC |
| Retrieves binary data from the value. More...
|
|
int | xmmsv_is_error (const xmmsv_t *val) XMMS_PUBLIC |
| Check if the value stores an error. More...
|
|