XMMS2
Defines | Functions
Deprecated
The type xmmsv_t

Defines

#define XMMSV_TYPE_UINT32   XMMSV_TYPE_UINT32_IS_DEPRECATED()

Functions

int xmmsv_is_list (const xmmsv_t *val) XMMS_DEPRECATED
 Check if the value stores a list.
int xmmsv_is_dict (const xmmsv_t *val) XMMS_DEPRECATED
 Check if the value stores a dict.
const char * xmmsv_get_error_old (const xmmsv_t *val) XMMS_DEPRECATED
 Legacy alias to retrieve the error string from an

xmmsv_t.


int xmmsv_get_uint (const xmmsv_t *val, uint32_t *r) XMMS_DEPRECATED
 Retrieves a unsigned integer from the value.

Define Documentation

#define XMMSV_TYPE_UINT32   XMMSV_TYPE_UINT32_IS_DEPRECATED()

Definition at line 40 of file xmmsv_deprecated.h.

Referenced by xmmsv_dict_format().


Function Documentation

const char* xmmsv_get_error_old ( const xmmsv_t val)

Legacy alias to retrieve the error string from an

xmmsv_t.

Deprecated:

Obsolete now, use xmmsv_get_error instead!

Parameters:
valan error xmmsv_t
Returns:
the error string if valid, NULL otherwise.

Definition at line 462 of file value.c.

int xmmsv_get_uint ( const xmmsv_t val,
uint32_t *  r 
)

Retrieves a unsigned integer from the value.

Deprecated:
Parameters:
vala xmmsv_t containing an unsigned integer.
rthe return unsigned integer.
Returns:
1 upon success otherwise 0

Definition at line 842 of file value.c.

Referenced by xmmsv_dict_format().

int xmmsv_is_dict ( const xmmsv_t val)

Check if the value stores a dict.

Deprecated:
Parameters:
vala xmmsv_t
Returns:
1 if value stores a dict, 0 otherwise.

Definition at line 449 of file value.c.

int xmmsv_is_list ( const xmmsv_t val)

Check if the value stores a list.

Deprecated:
Parameters:
vala xmmsv_t
Returns:
1 if value stores a list, 0 otherwise.

Definition at line 437 of file value.c.