XMMS2
Macros | Functions
xmmsv_util.h File Reference
#include <xmmsc/xmmsv_general.h>

Macros

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

Functions

char * xmmsv_encode_url (const char *url)
 Encodes an url. More...
 
char * xmmsv_encode_url_full (const char *url, xmmsv_t *args)
 Encodes an url with arguments stored in dict args. More...
 
xmmsv_txmmsv_decode_url (const xmmsv_t *url)
 Decode an URL-encoded string. More...
 
int xmmsv_utf8_validate (const char *str)
 Check if a string is valid UTF-8. More...
 
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. More...
 
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. More...
 
xmmsv_txmmsv_serialize (xmmsv_t *v)
 
xmmsv_txmmsv_deserialize (xmmsv_t *v)