libUPnP
1.6.17
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
upnp
inc
UpnpString.h
Go to the documentation of this file.
1
2
3
#ifndef STRING_H
4
#define STRING_H
5
6
24
#include "
UpnpGlobal.h
"
/* for EXPORT_SPEC */
25
26
27
#include <stdlib.h>
/* for size_t */
28
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
/* __cplusplus */
33
34
38
typedef
struct
s_UpnpString
UpnpString
;
39
40
46
EXPORT_SPEC
UpnpString
*
UpnpString_new
();
47
48
52
EXPORT_SPEC
void
UpnpString_delete
(
54
UpnpString
*p);
55
56
62
EXPORT_SPEC
UpnpString
*
UpnpString_dup
(
64
const
UpnpString
*p);
65
66
70
EXPORT_SPEC
void
UpnpString_assign
(
72
UpnpString
*p,
74
const
UpnpString
*q);
75
76
82
EXPORT_SPEC
size_t
UpnpString_get_Length
(
84
const
UpnpString
*p);
85
86
91
EXPORT_SPEC
void
UpnpString_set_Length
(
93
UpnpString
*p,
95
size_t
n);
96
97
103
EXPORT_SPEC
const
char
*
UpnpString_get_String
(
105
const
UpnpString
*p);
106
107
111
EXPORT_SPEC
int
UpnpString_set_String
(
113
UpnpString
*p,
115
const
char
*s);
116
117
121
EXPORT_SPEC
int
UpnpString_set_StringN
(
123
UpnpString
*p,
125
const
char
*s,
127
size_t
n);
128
129
133
EXPORT_SPEC
void
UpnpString_clear
(
135
UpnpString
*p);
136
137
143
EXPORT_SPEC
int
UpnpString_cmp
(
145
UpnpString
*p,
147
UpnpString
*q);
148
149
155
EXPORT_SPEC
int
UpnpString_casecmp
(
157
UpnpString
*p,
159
UpnpString
*q);
160
161
162
#ifdef __cplusplus
163
}
164
#endif
/* __cplusplus */
165
166
167
/* @} UpnpString The UpnpString API */
168
169
170
#endif
/* STRING_H */
171
Generated on Wed Feb 13 2013 21:36:55 for libUPnP by
1.8.1.2