XMMS2
|
Handles results returned from S4. More...
Functions | |
const s4_result_t * | s4_result_next (const s4_result_t *res) |
Gets the next result. More... | |
const char * | s4_result_get_key (const s4_result_t *res) |
Gets the result key. More... | |
const char * | s4_result_get_src (const s4_result_t *res) |
Gets the result source. More... | |
const s4_val_t * | s4_result_get_val (const s4_result_t *res) |
Gets the result value. More... | |
void | s4_result_free (s4_result_t *res) |
Frees a result. More... | |
s4_result_t * | s4_result_create (s4_result_t *next, const char *key, const s4_val_t *val, const char *src) |
Creates a new result. More... | |
Handles results returned from S4.
s4_result_t* s4_result_create | ( | s4_result_t * | next, |
const char * | key, | ||
const s4_val_t * | val, | ||
const char * | src | ||
) |
Creates a new result.
next | The next result |
key | The key |
val | The value |
src | The source |
void s4_result_free | ( | s4_result_t * | res | ) |
const char* s4_result_get_key | ( | const s4_result_t * | res | ) |
Gets the result key.
res | The result to find the key of |
Referenced by print_result(), xmms_medialib_entry_cleanup(), and xmms_medialib_entry_remove().
const char* s4_result_get_src | ( | const s4_result_t * | res | ) |
Gets the result source.
res | The result to find the source of |
Referenced by print_result(), xmms_medialib_entry_cleanup(), and xmms_medialib_entry_remove().
const s4_val_t* s4_result_get_val | ( | const s4_result_t * | res | ) |
Gets the result value.
res | The result to find the value of |
Referenced by print_result(), xmms_medialib_entry_cleanup(), xmms_medialib_entry_not_resolved_get(), xmms_medialib_entry_remove(), and xmms_medialib_session_property_set().
const s4_result_t* s4_result_next | ( | const s4_result_t * | res | ) |
Gets the next result.
res | The result to find the next of |
Referenced by print_result(), s4_resultrow_unref(), xmms_medialib_entry_cleanup(), and xmms_medialib_entry_remove().