XMMS2
Defines | Functions
src/include/xmmsc/xmmsv_util.h File Reference
#include "xmmsc/xmmsv_general.h"

Go to the source code of this file.

Defines

#define xmmsv_check_type(type)   ((type) > XMMSV_TYPE_NONE && (type) < XMMSV_TYPE_END)

Functions

xmmsv_txmmsv_decode_url (const xmmsv_t *url)
 Decode an URL-encoded string.
int xmmsv_utf8_validate (const char *str)
 Check if a string is valid UTF-8.
xmmsv_txmmsv_make_stringlist (char *array[], int num)
 Helper function to build a list xmmsv_t containing the strings from the input array.
xmmsv_txmmsv_propdict_to_dict (xmmsv_t *propdict, const char **src_prefs)
 Helper function to transform a key-source-value dict-of-dict

xmmsv_t (formerly a propdict) to a regular key-value dict, given a

list of source preference.
int xmmsv_dict_format (char *target, int len, const char *fmt, xmmsv_t *val)
 This function will make a pretty string about the information in xmmsv dict.
xmmsv_txmmsv_serialize (xmmsv_t *v)
xmmsv_txmmsv_deserialize (xmmsv_t *v)