libUPnP  1.8.0
StateVarRequest.h
Go to the documentation of this file.
1 
2 
3 #ifndef STATEVARREQUEST_H
4 #define STATEVARREQUEST_H
5 
6 
18 typedef struct s_UpnpStateVarRequest UpnpStateVarRequest;
19 
20 
21 #include "ixml.h" /* for DOMString */
22 #include "UpnpGlobal.h" /* for EXPORT_SPEC */
23 #include "UpnpInet.h" /* for sockaddr, sockaddr_storage */
24 #include "UpnpString.h"
25 
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif /* __cplusplus */
30 
31 
34 
37 
40 
43 
46 EXPORT_SPEC void UpnpStateVarRequest_set_ErrCode(UpnpStateVarRequest *p, int n);
47 
50 EXPORT_SPEC void UpnpStateVarRequest_set_Socket(UpnpStateVarRequest *p, int n);
51 
54 EXPORT_SPEC const char *UpnpStateVarRequest_get_ErrStr_cstr(const UpnpStateVarRequest *p);
55 EXPORT_SPEC void UpnpStateVarRequest_set_ErrStr(UpnpStateVarRequest *p, const UpnpString *s);
56 EXPORT_SPEC void UpnpStateVarRequest_strcpy_ErrStr(UpnpStateVarRequest *p, const char *s);
57 
60 EXPORT_SPEC const char *UpnpStateVarRequest_get_DevUDN_cstr(const UpnpStateVarRequest *p);
61 EXPORT_SPEC void UpnpStateVarRequest_set_DevUDN(UpnpStateVarRequest *p, const UpnpString *s);
62 
65 EXPORT_SPEC const char *UpnpStateVarRequest_get_ServiceID_cstr(const UpnpStateVarRequest *p);
66 EXPORT_SPEC void UpnpStateVarRequest_set_ServiceID(UpnpStateVarRequest *p, const UpnpString *s);
67 
70 EXPORT_SPEC const char *UpnpStateVarRequest_get_StateVarName_cstr(const UpnpStateVarRequest *p);
71 EXPORT_SPEC void UpnpStateVarRequest_set_StateVarName(UpnpStateVarRequest *p, const UpnpString *s);
72 EXPORT_SPEC void UpnpStateVarRequest_strcpy_StateVarName(UpnpStateVarRequest *p, const char *s);
73 
76 EXPORT_SPEC void UpnpStateVarRequest_set_CtrlPtIPAddr(UpnpStateVarRequest *p, const struct sockaddr *sa);
77 
81 EXPORT_SPEC const char *UpnpStateVarRequest_get_CurrentVal_cstr(const UpnpStateVarRequest *p);
82 EXPORT_SPEC void UpnpStateVarRequest_set_CurrentVal(UpnpStateVarRequest *p, const DOMString s);
83 
84 
85 #ifdef __cplusplus
86 }
87 #endif /* __cplusplus */
88 
89 
90 #endif /* STATEVARREQUEST_H */
91 
UpnpString object declarartion.
int UpnpStateVarRequest_get_Socket(const UpnpStateVarRequest *p)
Definition: StateVarRequest.c:126
const DOMString UpnpStateVarRequest_get_CurrentVal(const UpnpStateVarRequest *p)
Definition: StateVarRequest.c:238
const UpnpString * UpnpStateVarRequest_get_ErrStr(const UpnpStateVarRequest *p)
Definition: StateVarRequest.c:138
UpnpStateVarRequest * UpnpStateVarRequest_dup(const UpnpStateVarRequest *p)
Definition: StateVarRequest.c:89
void UpnpStateVarRequest_delete(UpnpStateVarRequest *p)
Definition: StateVarRequest.c:58
int UpnpStateVarRequest_get_ErrCode(const UpnpStateVarRequest *p)
Definition: StateVarRequest.c:114
Provides a platform independent way to include TCP/IP types and functions.
const UpnpString * UpnpStateVarRequest_get_DevUDN(const UpnpStateVarRequest *p)
Definition: StateVarRequest.c:164
struct s_UpnpStateVarRequest UpnpStateVarRequest
Definition: StateVarRequest.h:18
#define DOMString
The type of DOM strings.
Definition: ixml.h:55
UpnpStateVarRequest * UpnpStateVarRequest_new()
Definition: StateVarRequest.c:37
const UpnpString * UpnpStateVarRequest_get_ServiceID(const UpnpStateVarRequest *p)
Definition: StateVarRequest.c:182
const struct sockaddr * UpnpStateVarRequest_get_CtrlPtIPAddr(const UpnpStateVarRequest *p)
Definition: StateVarRequest.c:226
struct s_UpnpString UpnpString
Type of the string objects inside libupnp.
Definition: UpnpString.h:35
void UpnpStateVarRequest_assign(UpnpStateVarRequest *p, const UpnpStateVarRequest *q)
Definition: StateVarRequest.c:99
#define EXPORT_SPEC
Export functions on WIN32 DLLs.
Definition: UpnpGlobal.h:82
Defines constants that for some reason are not defined on some systems.
const UpnpString * UpnpStateVarRequest_get_StateVarName(const UpnpStateVarRequest *p)
Definition: StateVarRequest.c:200