libupnp/upnp/inc/String.h
Marcelo Roberto Jimenez 9326b73d06 Doxygenation.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@366 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-05-04 19:56:15 +00:00

49 lines
910 B
C

#ifndef STRING_H
#define STRING_H
/** \file */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/** Type of the string objects inside libupnp. */
typedef struct {} UpnpString;
/** Constructor */
UpnpString *UpnpString_new();
/** Destructor */
void UpnpString_delete(UpnpString *p);
/** Copy Constructor */
UpnpString *UpnpString_dup(const UpnpString *p);
/** Assignment operator */
void UpnpString_assign(UpnpString *q, const UpnpString *p);
/** The length of the string */
int UpnpString_get_Length(const UpnpString *p);
/** The pointer to char */
const char *UpnpString_get_String(const UpnpString *p);
void UpnpString_set_String(UpnpString *p, const char *s);
void UpnpString_set_StringN(UpnpString *p, const char *s, int n);
/* Clears the string, sets its size to zero */
void UpnpString_clear(UpnpString *p);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* STRING_H */