File: UpnpStateVarRequest.h

package info (click to toggle)
pupnp 1%3A1.14.20-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,440 kB
  • sloc: ansic: 34,488; xml: 1,173; cpp: 573; makefile: 341; sh: 130; python: 51; javascript: 7
file content (166 lines) | stat: -rw-r--r-- 6,464 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
#ifndef UPNPSTATEVARREQUEST_H
#define UPNPSTATEVARREQUEST_H

/*!
 * \file
 *
 * \brief Header file for UpnpStateVarRequest methods.
 *
 * Do not edit this file, it is automatically generated. Please look at
 * generator.c.
 *
 * \author Marcelo Roberto Jimenez
 */
#include <stdlib.h> /* for size_t */

#include "UpnpGlobal.h" /* for UPNP_EXPORT_SPEC */

#include "UpnpInet.h"
#include "UpnpString.h"
#include "ixml.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

/*!
 * UpnpStateVarRequest
 */
typedef struct s_UpnpStateVarRequest UpnpStateVarRequest;

/*! Constructor */
UPNP_EXPORT_SPEC UpnpStateVarRequest *UpnpStateVarRequest_new();
/*! Destructor */
UPNP_EXPORT_SPEC void UpnpStateVarRequest_delete(UpnpStateVarRequest *p);
/*! Copy Constructor */
UPNP_EXPORT_SPEC UpnpStateVarRequest *UpnpStateVarRequest_dup(
	const UpnpStateVarRequest *p);
/*! Assignment operator */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_assign(
	UpnpStateVarRequest *p, const UpnpStateVarRequest *q);

/*! UpnpStateVarRequest_get_ErrCode */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_get_ErrCode(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_set_ErrCode */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_ErrCode(
	UpnpStateVarRequest *p, int n);

/*! UpnpStateVarRequest_get_Socket */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_get_Socket(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_set_Socket */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_Socket(
	UpnpStateVarRequest *p, int n);

/*! UpnpStateVarRequest_get_ErrStr */
UPNP_EXPORT_SPEC const UpnpString *UpnpStateVarRequest_get_ErrStr(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_set_ErrStr */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_ErrStr(
	UpnpStateVarRequest *p, const UpnpString *s);
/*! UpnpStateVarRequest_get_ErrStr_Length */
UPNP_EXPORT_SPEC size_t UpnpStateVarRequest_get_ErrStr_Length(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_get_ErrStr_cstr */
UPNP_EXPORT_SPEC const char *UpnpStateVarRequest_get_ErrStr_cstr(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_strcpy_ErrStr */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strcpy_ErrStr(
	UpnpStateVarRequest *p, const char *s);
/*! UpnpStateVarRequest_strncpy_ErrStr */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strncpy_ErrStr(
	UpnpStateVarRequest *p, const char *s, size_t n);
/*! UpnpStateVarRequest_clear_ErrStr */
UPNP_EXPORT_SPEC void UpnpStateVarRequest_clear_ErrStr(UpnpStateVarRequest *p);

/*! UpnpStateVarRequest_get_DevUDN */
UPNP_EXPORT_SPEC const UpnpString *UpnpStateVarRequest_get_DevUDN(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_set_DevUDN */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_DevUDN(
	UpnpStateVarRequest *p, const UpnpString *s);
/*! UpnpStateVarRequest_get_DevUDN_Length */
UPNP_EXPORT_SPEC size_t UpnpStateVarRequest_get_DevUDN_Length(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_get_DevUDN_cstr */
UPNP_EXPORT_SPEC const char *UpnpStateVarRequest_get_DevUDN_cstr(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_strcpy_DevUDN */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strcpy_DevUDN(
	UpnpStateVarRequest *p, const char *s);
/*! UpnpStateVarRequest_strncpy_DevUDN */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strncpy_DevUDN(
	UpnpStateVarRequest *p, const char *s, size_t n);
/*! UpnpStateVarRequest_clear_DevUDN */
UPNP_EXPORT_SPEC void UpnpStateVarRequest_clear_DevUDN(UpnpStateVarRequest *p);

/*! UpnpStateVarRequest_get_ServiceID */
UPNP_EXPORT_SPEC const UpnpString *UpnpStateVarRequest_get_ServiceID(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_set_ServiceID */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_ServiceID(
	UpnpStateVarRequest *p, const UpnpString *s);
/*! UpnpStateVarRequest_get_ServiceID_Length */
UPNP_EXPORT_SPEC size_t UpnpStateVarRequest_get_ServiceID_Length(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_get_ServiceID_cstr */
UPNP_EXPORT_SPEC const char *UpnpStateVarRequest_get_ServiceID_cstr(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_strcpy_ServiceID */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strcpy_ServiceID(
	UpnpStateVarRequest *p, const char *s);
/*! UpnpStateVarRequest_strncpy_ServiceID */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strncpy_ServiceID(
	UpnpStateVarRequest *p, const char *s, size_t n);
/*! UpnpStateVarRequest_clear_ServiceID */
UPNP_EXPORT_SPEC void UpnpStateVarRequest_clear_ServiceID(
	UpnpStateVarRequest *p);

/*! UpnpStateVarRequest_get_StateVarName */
UPNP_EXPORT_SPEC const UpnpString *UpnpStateVarRequest_get_StateVarName(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_set_StateVarName */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_StateVarName(
	UpnpStateVarRequest *p, const UpnpString *s);
/*! UpnpStateVarRequest_get_StateVarName_Length */
UPNP_EXPORT_SPEC size_t UpnpStateVarRequest_get_StateVarName_Length(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_get_StateVarName_cstr */
UPNP_EXPORT_SPEC const char *UpnpStateVarRequest_get_StateVarName_cstr(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_strcpy_StateVarName */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strcpy_StateVarName(
	UpnpStateVarRequest *p, const char *s);
/*! UpnpStateVarRequest_strncpy_StateVarName */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strncpy_StateVarName(
	UpnpStateVarRequest *p, const char *s, size_t n);
/*! UpnpStateVarRequest_clear_StateVarName */
UPNP_EXPORT_SPEC void UpnpStateVarRequest_clear_StateVarName(
	UpnpStateVarRequest *p);

/*! UpnpStateVarRequest_get_CtrlPtIPAddr */
UPNP_EXPORT_SPEC const struct sockaddr_storage *
UpnpStateVarRequest_get_CtrlPtIPAddr(const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_get_CtrlPtIPAddr */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_CtrlPtIPAddr(
	UpnpStateVarRequest *p, const struct sockaddr_storage *buf);
/*! UpnpStateVarRequest_get_CtrlPtIPAddr */
UPNP_EXPORT_SPEC void UpnpStateVarRequest_clear_CtrlPtIPAddr(
	UpnpStateVarRequest *p);

/*! UpnpStateVarRequest_get_CurrentVal */
UPNP_EXPORT_SPEC const DOMString UpnpStateVarRequest_get_CurrentVal(
	const UpnpStateVarRequest *p);
/*! UpnpStateVarRequest_set_CurrentVal */
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_CurrentVal(
	UpnpStateVarRequest *p, const DOMString s);
/*! UpnpStateVarRequest_get_CurrentVal_cstr */
UPNP_EXPORT_SPEC const char *UpnpStateVarRequest_get_CurrentVal_cstr(
	const UpnpStateVarRequest *p);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* UPNPSTATEVARREQUEST_H */