18 #ifndef __XMMSV_UTIL_H__ 19 #define __XMMSV_UTIL_H__ 33 #define xmmsv_check_type(type) ((type) > XMMSV_TYPE_NONE && (type) < XMMSV_TYPE_END) xmmsv_t * xmmsv_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 regul...
xmmsv_t * xmmsv_decode_url(const xmmsv_t *url)
Decode an URL-encoded string.
xmmsv_t * xmmsv_deserialize(xmmsv_t *v)
xmmsv_t * xmmsv_make_stringlist(char *array[], int num)
Helper function to build a list xmmsv_t containing the strings from the input array.
xmmsv_t * xmmsv_serialize(xmmsv_t *v)
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.
int xmmsv_utf8_validate(const char *str)
Check if a string is valid UTF-8.