libUPnP  1.8.0
UpnpString.h
Go to the documentation of this file.
00001 
00002 
00003 #ifndef STRING_H
00004 #define STRING_H
00005 
00006 
00024 #include "UpnpGlobal.h" /* for EXPORT_SPEC */
00025 
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif /* __cplusplus */
00030 
00031 
00035 typedef struct s_UpnpString UpnpString;
00036 
00037 
00043 EXPORT_SPEC UpnpString *UpnpString_new();
00044 
00045 
00049 EXPORT_SPEC void UpnpString_delete(
00051         UpnpString *p);
00052 
00053 
00059 EXPORT_SPEC UpnpString *UpnpString_dup(
00061         const UpnpString *p);
00062 
00063 
00067 EXPORT_SPEC void UpnpString_assign(
00069         UpnpString *p,
00071         const UpnpString *q);
00072 
00073 
00079 EXPORT_SPEC int UpnpString_get_Length(
00081         const UpnpString *p);
00082 
00083 
00089 EXPORT_SPEC const char *UpnpString_get_String(
00091         const UpnpString *p);
00092 
00093 
00097 EXPORT_SPEC void UpnpString_set_String(
00099         UpnpString *p,
00101         const char *s);
00102 
00103 
00107 EXPORT_SPEC void UpnpString_set_StringN(
00109         UpnpString *p,
00111         const char *s,
00113         int n);
00114 
00115 
00119 EXPORT_SPEC void UpnpString_clear(
00121         UpnpString *p);
00122 
00123 
00124 #ifdef __cplusplus
00125 }
00126 #endif /* __cplusplus */
00127 
00128 
00129 /* @} UpnpString The UpnpString API */
00130 
00131 
00132 #endif /* STRING_H */
00133