XmmsClient
Macros | Functions
xmmsv_build.h File Reference
#include <xmmsc/xmmsv_general.h>
#include <xmmsc/xmmsc_compiler.h>

Macros

#define XMMSV_DICT_ENTRY(k, v)   __xmmsv_identity_const_charp (k), __xmmsv_identity_xmmsv (v)
 
#define XMMSV_DICT_ENTRY_STR(k, v)   XMMSV_DICT_ENTRY (k, __xmmsv_null_to_none (xmmsv_new_string (v)))
 
#define XMMSV_DICT_ENTRY_INT(k, v)   XMMSV_DICT_ENTRY (k, xmmsv_new_int (v))
 
#define XMMSV_DICT_ENTRY_FLOAT(k, v)   XMMSV_DICT_ENTRY (k, xmmsv_new_float (v))
 
#define XMMSV_DICT_END   NULL
 
#define XMMSV_LIST_ENTRY(v)   __xmmsv_identity_xmmsv (v)
 
#define XMMSV_LIST_ENTRY_STR(v)   XMMSV_LIST_ENTRY (__xmmsv_null_to_none (xmmsv_new_string (v)))
 
#define XMMSV_LIST_ENTRY_INT(v)   XMMSV_LIST_ENTRY (xmmsv_new_int (v))
 
#define XMMSV_LIST_ENTRY_FLOAT(v)   XMMSV_LIST_ENTRY (xmmsv_new_float (v))
 
#define XMMSV_LIST_ENTRY_COLL(v)   XMMSV_LIST_ENTRY (__xmmsv_null_to_none (xmmsv_new_coll (v)))
 
#define XMMSV_LIST_END   NULL
 

Functions

xmmsv_txmmsv_make_stringlist (char *array[], int num) XMMS_PUBLIC
 Helper function to build a list xmmsv_t containing the strings from the input array. More...
 
xmmsv_txmmsv_build_dict (const char *firstkey,...) XMMS_PUBLIC XMMS_SENTINEL(0)
 
xmmsv_txmmsv_build_dict_va (const char *firstkey, va_list ap) XMMS_PUBLIC
 
xmmsv_txmmsv_build_list (xmmsv_t *first_entry,...) XMMS_PUBLIC XMMS_SENTINEL(0)
 
xmmsv_txmmsv_build_list_va (xmmsv_t *first_entry, va_list ap) XMMS_PUBLIC
 
xmmsv_txmmsv_build_empty_organize (void) XMMS_PUBLIC
 
xmmsv_txmmsv_build_organize (xmmsv_t *data) XMMS_PUBLIC
 Creates an organize fetch specification that may be passed to xmmsc_coll_query. More...
 
xmmsv_txmmsv_build_metadata (xmmsv_t *keys, xmmsv_t *get, const char *aggregate, xmmsv_t *sourcepref) XMMS_PUBLIC
 Creates a metadata fetch specification. More...
 
xmmsv_txmmsv_build_cluster_list (xmmsv_t *cluster_by, xmmsv_t *cluster_field, xmmsv_t *cluster_data) XMMS_PUBLIC
 Creates a cluster-list fetch specification. More...
 
xmmsv_txmmsv_build_cluster_dict (xmmsv_t *cluster_by, xmmsv_t *cluster_field, xmmsv_t *cluster_data) XMMS_PUBLIC
 Creates a cluster-dict fetch specification. More...
 
xmmsv_txmmsv_build_count (void) XMMS_PUBLIC
 Creates a count fetch specification. More...