mUPnP for C
|
Data Structures | |
struct | _mUpnpString |
struct | _mUpnpStringTokenizer |
Macros | |
#define | MUPNP_STRING_MEMORY_ALLOCATION_UNIT 64 |
#define | MUPNP_STRING_INTEGER_BUFLEN 16 |
#define | MUPNP_STRING_LONG_BUFLEN 32 |
#define | MUPNP_STRING_LONGLONG_BUFLEN 32 |
#define | MUPNP_STRING_FLOAT_BUFLEN 64 |
#define | MUPNP_STRING_DOUBLE_BUFLEN 64 |
#define | mupnp_str2int(value) |
#define | mupnp_str2long(value) |
#define | mupnp_strhex2long(value) |
#define | mupnp_strhex2ulong(value) |
#define | mupnp_str2float(value) |
#define | mupnp_str2double(value) |
#define | mupnp_str2sizet(value) |
#define | mupnp_str2ssizet(value) |
#define | mupnp_string_getintvalue(str) |
#define | mupnp_string_getlongvalue(str) |
#define | mupnp_string_getfloatvalue(str) |
#define | mupnp_string_getdoublevalue(str) |
Typedefs | |
typedef struct _mUpnpString | mUpnpString |
typedef struct _mUpnpStringTokenizer | mUpnpStringTokenizer |
Functions | |
char * | mupnp_strdup (const char *str) |
size_t | mupnp_strlen (const char *str) |
char * | mupnp_strcpy (char *dest, const char *src) |
char * | mupnp_strcat (char *dest, const char *src) |
int | mupnp_strcmp (const char *str1, const char *str2) |
int | mupnp_strncmp (const char *str1, const char *str2, int nchars) |
int | mupnp_strcasecmp (const char *str1, const char *str2) |
bool | mupnp_streq (const char *str1, const char *str2) |
bool | mupnp_strcaseeq (const char *str1, const char *str2) |
ssize_t | mupnp_strchr (const char *str, const char *chars, size_t nchars) |
ssize_t | mupnp_strrchr (const char *str, const char *chars, size_t nchars) |
ssize_t | mupnp_strstr (const char *haystack, const char *needle) |
char * | mupnp_strtrimwhite (char *str) |
char * | mupnp_strtrim (char *str, char *delim, size_t ndelim) |
char * | mupnp_strltrim (char *str, char *delim, size_t ndelim) |
char * | mupnp_strrtrim (char *str, char *delim, size_t ndelim) |
char * | mupnp_strncpy (char *str1, const char *str2, size_t cnt) |
char * | mupnp_strncat (char *str1, const char *str2, size_t cnt) |
const char * | mupnp_int2str (int value, char *buf, size_t bufSize) |
const char * | mupnp_long2str (long value, char *buf, size_t bufSize) |
const char * | mupnp_float2str (float value, char *buf, size_t bufSize) |
const char * | mupnp_double2str (double value, char *buf, size_t bufSize) |
const char * | mupnp_sizet2str (size_t value, char *buf, size_t bufSize) |
const char * | mupnp_ssizet2str (ssize_t value, char *buf, size_t bufSize) |
mUpnpStringTokenizer * | mupnp_string_tokenizer_new (const char *str, const char *delim) |
void | mupnp_string_tokenizer_delete (mUpnpStringTokenizer *strToken) |
bool | mupnp_string_tokenizer_hasmoretoken (mUpnpStringTokenizer *strToken) |
char * | mupnp_string_tokenizer_nexttoken (mUpnpStringTokenizer *strToken) |
char * | mupnp_string_tokenizer_nextalltoken (mUpnpStringTokenizer *strToken) |
void | mupnp_string_tokenizer_print (mUpnpStringTokenizer *strToken) |
mUpnpString * | mupnp_string_new (void) |
void | mupnp_string_delete (mUpnpString *str) |
void | mupnp_string_clear (mUpnpString *str) |
void | mupnp_string_setvalue (mUpnpString *str, const char *value) |
void | mupnp_string_setintvalue (mUpnpString *str, int value) |
void | mupnp_string_setlongvalue (mUpnpString *str, long value) |
void | mupnp_string_setfloatvalue (mUpnpString *str, float value) |
void | mupnp_string_setdoublevalue (mUpnpString *str, double value) |
void | mupnp_string_setnvalue (mUpnpString *str, const char *value, size_t len) |
void | mupnp_string_setpointervalue (mUpnpString *str, char *value, size_t len) |
char * | mupnp_string_getvalue (mUpnpString *str) |
size_t | mupnp_string_length (mUpnpString *str) |
char * | mupnp_string_addvalue (mUpnpString *str, const char *value) |
char * | mupnp_string_naddvalue (mUpnpString *str, const char *value, size_t valueLen) |
char * | mupnp_string_addrepvalue (mUpnpString *str, const char *value, size_t repeatCnt) |
char * | mupnp_string_naddrepvalue (mUpnpString *str, const char *value, size_t valueLen, size_t repeatCnt) |
char * | mupnp_string_replace (mUpnpString *str, char *fromStr[], char *toStr[], size_t fromStrCnt) |
size_t | mupnp_string_getmemorysize (mUpnpString *str) |
#define mupnp_str2double | ( | value | ) |
#define mupnp_str2float | ( | value | ) |
#define mupnp_str2int | ( | value | ) |
#define mupnp_str2long | ( | value | ) |
#define mupnp_str2sizet | ( | value | ) |
#define mupnp_str2ssizet | ( | value | ) |
#define mupnp_strhex2long | ( | value | ) |
#define mupnp_strhex2ulong | ( | value | ) |
#define MUPNP_STRING_DOUBLE_BUFLEN 64 |
#define MUPNP_STRING_FLOAT_BUFLEN 64 |
#define mupnp_string_getdoublevalue | ( | str | ) |
#define mupnp_string_getfloatvalue | ( | str | ) |
#define mupnp_string_getintvalue | ( | str | ) |
#define mupnp_string_getlongvalue | ( | str | ) |
#define MUPNP_STRING_INTEGER_BUFLEN 16 |
#define MUPNP_STRING_LONG_BUFLEN 32 |
#define MUPNP_STRING_LONGLONG_BUFLEN 32 |
#define MUPNP_STRING_MEMORY_ALLOCATION_UNIT 64 |
typedef struct _mUpnpString mUpnpString |
typedef struct _mUpnpStringTokenizer mUpnpStringTokenizer |
const char * mupnp_double2str | ( | double | value, |
char * | buf, | ||
size_t | bufSize ) |
const char * mupnp_float2str | ( | float | value, |
char * | buf, | ||
size_t | bufSize ) |
const char * mupnp_int2str | ( | int | value, |
char * | buf, | ||
size_t | bufSize ) |
const char * mupnp_long2str | ( | long | value, |
char * | buf, | ||
size_t | bufSize ) |
const char * mupnp_sizet2str | ( | size_t | value, |
char * | buf, | ||
size_t | bufSize ) |
const char * mupnp_ssizet2str | ( | ssize_t | value, |
char * | buf, | ||
size_t | bufSize ) |
int mupnp_strcasecmp | ( | const char * | str1, |
const char * | str2 ) |
bool mupnp_strcaseeq | ( | const char * | str1, |
const char * | str2 ) |
char * mupnp_strcat | ( | char * | dest, |
const char * | src ) |
ssize_t mupnp_strchr | ( | const char * | str, |
const char * | chars, | ||
size_t | nchars ) |
int mupnp_strcmp | ( | const char * | str1, |
const char * | str2 ) |
char * mupnp_strcpy | ( | char * | dest, |
const char * | src ) |
char * mupnp_strdup | ( | const char * | str | ) |
bool mupnp_streq | ( | const char * | str1, |
const char * | str2 ) |
char * mupnp_string_addrepvalue | ( | mUpnpString * | str, |
const char * | value, | ||
size_t | repeatCnt ) |
char * mupnp_string_addvalue | ( | mUpnpString * | str, |
const char * | value ) |
void mupnp_string_clear | ( | mUpnpString * | str | ) |
void mupnp_string_delete | ( | mUpnpString * | str | ) |
size_t mupnp_string_getmemorysize | ( | mUpnpString * | str | ) |
char * mupnp_string_getvalue | ( | mUpnpString * | str | ) |
size_t mupnp_string_length | ( | mUpnpString * | str | ) |
char * mupnp_string_naddrepvalue | ( | mUpnpString * | str, |
const char * | value, | ||
size_t | valueLen, | ||
size_t | repeatCnt ) |
char * mupnp_string_naddvalue | ( | mUpnpString * | str, |
const char * | value, | ||
size_t | valueLen ) |
mUpnpString * mupnp_string_new | ( | void | ) |
char * mupnp_string_replace | ( | mUpnpString * | str, |
char * | fromStr[], | ||
char * | toStr[], | ||
size_t | fromStrCnt ) |
void mupnp_string_setdoublevalue | ( | mUpnpString * | str, |
double | value ) |
void mupnp_string_setfloatvalue | ( | mUpnpString * | str, |
float | value ) |
void mupnp_string_setintvalue | ( | mUpnpString * | str, |
int | value ) |
void mupnp_string_setlongvalue | ( | mUpnpString * | str, |
long | value ) |
void mupnp_string_setnvalue | ( | mUpnpString * | str, |
const char * | value, | ||
size_t | len ) |
void mupnp_string_setpointervalue | ( | mUpnpString * | str, |
char * | value, | ||
size_t | len ) |
void mupnp_string_setvalue | ( | mUpnpString * | str, |
const char * | value ) |
void mupnp_string_tokenizer_delete | ( | mUpnpStringTokenizer * | strToken | ) |
bool mupnp_string_tokenizer_hasmoretoken | ( | mUpnpStringTokenizer * | strToken | ) |
mUpnpStringTokenizer * mupnp_string_tokenizer_new | ( | const char * | str, |
const char * | delim ) |
char * mupnp_string_tokenizer_nextalltoken | ( | mUpnpStringTokenizer * | strToken | ) |
char * mupnp_string_tokenizer_nexttoken | ( | mUpnpStringTokenizer * | strToken | ) |
void mupnp_string_tokenizer_print | ( | mUpnpStringTokenizer * | strToken | ) |
size_t mupnp_strlen | ( | const char * | str | ) |
char * mupnp_strltrim | ( | char * | str, |
char * | delim, | ||
size_t | ndelim ) |
char * mupnp_strncat | ( | char * | str1, |
const char * | str2, | ||
size_t | cnt ) |
int mupnp_strncmp | ( | const char * | str1, |
const char * | str2, | ||
int | nchars ) |
char * mupnp_strncpy | ( | char * | str1, |
const char * | str2, | ||
size_t | cnt ) |
ssize_t mupnp_strrchr | ( | const char * | str, |
const char * | chars, | ||
size_t | nchars ) |
char * mupnp_strrtrim | ( | char * | str, |
char * | delim, | ||
size_t | ndelim ) |
ssize_t mupnp_strstr | ( | const char * | haystack, |
const char * | needle ) |
char * mupnp_strtrim | ( | char * | str, |
char * | delim, | ||
size_t | ndelim ) |
char * mupnp_strtrimwhite | ( | char * | str | ) |