|
XMMS2
|
Macros | |
| #define | INT_SIZE ((size_t)&((s4_val_t*)0)->v.i + sizeof (int32_t)) |
Enumerations | |
| enum | s4_val_type_t { S4_VAL_STR, S4_VAL_STR_INTERNAL, S4_VAL_INT } |
Functions | |
| s4_val_t * | s4_val_new_string (const char *str) |
| Creates a new string value. More... | |
| s4_val_t * | s4_val_new_int (int32_t i) |
| Creates a new integer value. More... | |
| s4_val_t * | s4_val_copy (const s4_val_t *val) |
| Copies a value. More... | |
| void | s4_val_free (s4_val_t *val) |
| Frees a value. More... | |
| int | s4_val_is_str (const s4_val_t *val) |
| Checks is a value is a string value. More... | |
| int | s4_val_is_int (const s4_val_t *val) |
| Checks is a value is an integer value. More... | |
| int | s4_val_get_str (const s4_val_t *val, const char **str) |
| Tries to get the string in a string value. More... | |
| int | s4_val_get_collated_str (const s4_val_t *val, const char **str) |
| Tries to get the normalized string in a string value. More... | |
| int | s4_val_get_casefolded_str (const s4_val_t *val, const char **str) |
| Tries to get the normalized string in a string value. More... | |
| int | s4_val_get_int (const s4_val_t *val, int32_t *i) |
| Tries to get the integer in an integer value. More... | |
| int | s4_val_cmp (const s4_val_t *v1, const s4_val_t *v2, s4_cmp_mode_t mode) |
| Compares two values. More... | |
| s4_val_t * | s4_val_new_internal_string (const char *str, s4_t *s4) |
| Creates a new internal string value. More... | |
| #define INT_SIZE ((size_t)&((s4_val_t*)0)->v.i + sizeof (int32_t)) |
Referenced by s4_val_new_int().
| enum s4_val_type_t |