Defines constants that for some reason are not defined on some systems.
#define UPNP_EXPORT_SPEC
Export functions on WIN32 DLLs.
Definition UpnpGlobal.h:98
UpnpString * UpnpString_dup(const UpnpString *p)
Copy Constructor.
Definition UpnpString.c:115
int UpnpString_set_StringN(UpnpString *p, const char *s, size_t n)
Sets the string from a pointer to char using a maximum of N chars.
Definition UpnpString.c:175
int UpnpString_set_String(UpnpString *p, const char *s)
Sets the string from a pointer to char.
Definition UpnpString.c:162
int UpnpString_casecmp(UpnpString *p, UpnpString *q)
Compares two strings for equality. Case does not matter.
Definition UpnpString.c:203
size_t UpnpString_get_Length(const UpnpString *p)
Returns the length of the string.
Definition UpnpString.c:143
UpnpString * UpnpString_new(void)
Constructor.
Definition UpnpString.c:74
const char * UpnpString_get_String(const UpnpString *p)
Returns the pointer to char.
Definition UpnpString.c:157
void UpnpString_delete(UpnpString *p)
Destructor.
Definition UpnpString.c:100
int UpnpString_cmp(UpnpString *p, UpnpString *q)
Compares two strings for equality. Case matters.
Definition UpnpString.c:195
void UpnpString_set_Length(UpnpString *p, size_t n)
Truncates the string to the specified lenght, or does nothing if the current lenght is less than or e...
Definition UpnpString.c:148
struct s_UpnpString UpnpString
Type of the string objects inside libupnp.
Definition UpnpString.h:33
void UpnpString_assign(UpnpString *p, const UpnpString *q)
Assignment operator.
Definition UpnpString.c:136
void UpnpString_clear(UpnpString *p)
Clears the string, sets its size to zero.
Definition UpnpString.c:188