UpnpStateVarRequest.h
Go to the documentation of this file.
#ifndef UPNPSTATEVARREQUEST_H
#define UPNPSTATEVARREQUEST_H
#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 */
typedef struct s_UpnpStateVarRequest UpnpStateVarRequest;
UPNP_EXPORT_SPEC UpnpStateVarRequest *UpnpStateVarRequest_new();
UPNP_EXPORT_SPEC void UpnpStateVarRequest_delete(UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC UpnpStateVarRequest *UpnpStateVarRequest_dup(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_assign(
UpnpStateVarRequest *p, const UpnpStateVarRequest *q);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_get_ErrCode(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_ErrCode(
UpnpStateVarRequest *p, int n);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_get_Socket(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_Socket(
UpnpStateVarRequest *p, int n);
UPNP_EXPORT_SPEC const UpnpString *UpnpStateVarRequest_get_ErrStr(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_ErrStr(
UpnpStateVarRequest *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpStateVarRequest_get_ErrStr_Length(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC const char *UpnpStateVarRequest_get_ErrStr_cstr(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strcpy_ErrStr(
UpnpStateVarRequest *p, const char *s);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strncpy_ErrStr(
UpnpStateVarRequest *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpStateVarRequest_clear_ErrStr(UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC const UpnpString *UpnpStateVarRequest_get_DevUDN(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_DevUDN(
UpnpStateVarRequest *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpStateVarRequest_get_DevUDN_Length(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC const char *UpnpStateVarRequest_get_DevUDN_cstr(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strcpy_DevUDN(
UpnpStateVarRequest *p, const char *s);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strncpy_DevUDN(
UpnpStateVarRequest *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpStateVarRequest_clear_DevUDN(UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC const UpnpString *UpnpStateVarRequest_get_ServiceID(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_ServiceID(
UpnpStateVarRequest *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpStateVarRequest_get_ServiceID_Length(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC const char *UpnpStateVarRequest_get_ServiceID_cstr(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strcpy_ServiceID(
UpnpStateVarRequest *p, const char *s);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strncpy_ServiceID(
UpnpStateVarRequest *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpStateVarRequest_clear_ServiceID(
UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC const UpnpString *UpnpStateVarRequest_get_StateVarName(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_StateVarName(
UpnpStateVarRequest *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpStateVarRequest_get_StateVarName_Length(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC const char *UpnpStateVarRequest_get_StateVarName_cstr(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strcpy_StateVarName(
UpnpStateVarRequest *p, const char *s);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_strncpy_StateVarName(
UpnpStateVarRequest *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpStateVarRequest_clear_StateVarName(
UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC const struct sockaddr_storage *
UpnpStateVarRequest_get_CtrlPtIPAddr(const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_CtrlPtIPAddr(
UpnpStateVarRequest *p, const struct sockaddr_storage *buf);
UPNP_EXPORT_SPEC void UpnpStateVarRequest_clear_CtrlPtIPAddr(
UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC const DOMString UpnpStateVarRequest_get_CurrentVal(
const UpnpStateVarRequest *p);
UPNP_EXPORT_SPEC int UpnpStateVarRequest_set_CurrentVal(
UpnpStateVarRequest *p, const DOMString s);
UPNP_EXPORT_SPEC const char *UpnpStateVarRequest_get_CurrentVal_cstr(
const UpnpStateVarRequest *p);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* UPNPSTATEVARREQUEST_H */
UpnpGlobal.h
Defines constants that for some reason are not defined on some systems.
UPNP_EXPORT_SPEC
#define UPNP_EXPORT_SPEC
Export functions on WIN32 DLLs.
Definition UpnpGlobal.h:105
UpnpInet.h
Provides a platform independent way to include TCP/IP types and functions.
UpnpStateVarRequest_get_CurrentVal_cstr
const char * UpnpStateVarRequest_get_CurrentVal_cstr(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:331
UpnpStateVarRequest_strncpy_DevUDN
int UpnpStateVarRequest_strncpy_DevUDN(UpnpStateVarRequest *p, const char *s, size_t n)
Definition UpnpStateVarRequest.c:202
UpnpStateVarRequest_strncpy_ErrStr
int UpnpStateVarRequest_strncpy_ErrStr(UpnpStateVarRequest *p, const char *s, size_t n)
Definition UpnpStateVarRequest.c:164
UpnpStateVarRequest_clear_ErrStr
void UpnpStateVarRequest_clear_ErrStr(UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:170
UpnpStateVarRequest_set_Socket
int UpnpStateVarRequest_set_Socket(UpnpStateVarRequest *p, int n)
Definition UpnpStateVarRequest.c:130
UpnpStateVarRequest_strcpy_DevUDN
int UpnpStateVarRequest_strcpy_DevUDN(UpnpStateVarRequest *p, const char *s)
Definition UpnpStateVarRequest.c:197
UpnpStateVarRequest_get_Socket
int UpnpStateVarRequest_get_Socket(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:125
UpnpStateVarRequest_get_StateVarName
const UpnpString * UpnpStateVarRequest_get_StateVarName(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:253
UpnpStateVarRequest_get_ErrStr
const UpnpString * UpnpStateVarRequest_get_ErrStr(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:137
UpnpStateVarRequest_get_ErrStr_Length
size_t UpnpStateVarRequest_get_ErrStr_Length(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:149
UpnpStateVarRequest_set_StateVarName
int UpnpStateVarRequest_set_StateVarName(UpnpStateVarRequest *p, const UpnpString *s)
Definition UpnpStateVarRequest.c:259
UpnpStateVarRequest_assign
int UpnpStateVarRequest_assign(UpnpStateVarRequest *p, const UpnpStateVarRequest *q)
Definition UpnpStateVarRequest.c:74
UpnpStateVarRequest_get_ErrStr_cstr
const char * UpnpStateVarRequest_get_ErrStr_cstr(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:154
UpnpStateVarRequest_strcpy_StateVarName
int UpnpStateVarRequest_strcpy_StateVarName(UpnpStateVarRequest *p, const char *s)
Definition UpnpStateVarRequest.c:278
UpnpStateVarRequest_clear_DevUDN
void UpnpStateVarRequest_clear_DevUDN(UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:208
UpnpStateVarRequest_get_ServiceID
const UpnpString * UpnpStateVarRequest_get_ServiceID(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:213
UpnpStateVarRequest_get_ErrCode
int UpnpStateVarRequest_get_ErrCode(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:113
UpnpStateVarRequest_set_CurrentVal
int UpnpStateVarRequest_set_CurrentVal(UpnpStateVarRequest *p, const DOMString s)
Definition UpnpStateVarRequest.c:319
UpnpStateVarRequest_set_CtrlPtIPAddr
int UpnpStateVarRequest_set_CtrlPtIPAddr(UpnpStateVarRequest *p, const struct sockaddr_storage *buf)
Definition UpnpStateVarRequest.c:301
UpnpStateVarRequest_new
UpnpStateVarRequest * UpnpStateVarRequest_new()
Definition UpnpStateVarRequest.c:30
UpnpStateVarRequest_get_CurrentVal
const DOMString UpnpStateVarRequest_get_CurrentVal(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:314
UpnpStateVarRequest_clear_StateVarName
void UpnpStateVarRequest_clear_StateVarName(UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:290
UpnpStateVarRequest_get_CtrlPtIPAddr
const struct sockaddr_storage * UpnpStateVarRequest_get_CtrlPtIPAddr(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:295
UpnpStateVarRequest_set_DevUDN
int UpnpStateVarRequest_set_DevUDN(UpnpStateVarRequest *p, const UpnpString *s)
Definition UpnpStateVarRequest.c:180
UpnpStateVarRequest_get_DevUDN_Length
size_t UpnpStateVarRequest_get_DevUDN_Length(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:187
UpnpStateVarRequest_strncpy_ServiceID
int UpnpStateVarRequest_strncpy_ServiceID(UpnpStateVarRequest *p, const char *s, size_t n)
Definition UpnpStateVarRequest.c:242
UpnpStateVarRequest_clear_ServiceID
void UpnpStateVarRequest_clear_ServiceID(UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:248
UpnpStateVarRequest_get_ServiceID_Length
size_t UpnpStateVarRequest_get_ServiceID_Length(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:227
UpnpStateVarRequest_set_ErrCode
int UpnpStateVarRequest_set_ErrCode(UpnpStateVarRequest *p, int n)
Definition UpnpStateVarRequest.c:118
UpnpStateVarRequest_strcpy_ErrStr
int UpnpStateVarRequest_strcpy_ErrStr(UpnpStateVarRequest *p, const char *s)
Definition UpnpStateVarRequest.c:159
UpnpStateVarRequest_get_ServiceID_cstr
const char * UpnpStateVarRequest_get_ServiceID_cstr(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:232
UpnpStateVarRequest_clear_CtrlPtIPAddr
void UpnpStateVarRequest_clear_CtrlPtIPAddr(UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:309
UpnpStateVarRequest_delete
void UpnpStateVarRequest_delete(UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:50
UpnpStateVarRequest_get_DevUDN
const UpnpString * UpnpStateVarRequest_get_DevUDN(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:175
UpnpStateVarRequest_set_ServiceID
int UpnpStateVarRequest_set_ServiceID(UpnpStateVarRequest *p, const UpnpString *s)
Definition UpnpStateVarRequest.c:219
UpnpStateVarRequest_strcpy_ServiceID
int UpnpStateVarRequest_strcpy_ServiceID(UpnpStateVarRequest *p, const char *s)
Definition UpnpStateVarRequest.c:237
UpnpStateVarRequest_get_StateVarName_Length
size_t UpnpStateVarRequest_get_StateVarName_Length(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:267
UpnpStateVarRequest_dup
UpnpStateVarRequest * UpnpStateVarRequest_dup(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:101
UpnpStateVarRequest_set_ErrStr
int UpnpStateVarRequest_set_ErrStr(UpnpStateVarRequest *p, const UpnpString *s)
Definition UpnpStateVarRequest.c:142
UpnpStateVarRequest_get_DevUDN_cstr
const char * UpnpStateVarRequest_get_DevUDN_cstr(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:192
UpnpStateVarRequest_strncpy_StateVarName
int UpnpStateVarRequest_strncpy_StateVarName(UpnpStateVarRequest *p, const char *s, size_t n)
Definition UpnpStateVarRequest.c:284
UpnpStateVarRequest_get_StateVarName_cstr
const char * UpnpStateVarRequest_get_StateVarName_cstr(const UpnpStateVarRequest *p)
Definition UpnpStateVarRequest.c:272
UpnpString.h
UpnpString object declaration.
UpnpString
struct s_UpnpString UpnpString
Type of the string objects inside libupnp.
Definition UpnpString.h:33
DOMString
#define DOMString
The type of DOM strings.
Definition ixml.h:48
ixml.h
s_UpnpStateVarRequest
Definition UpnpStateVarRequest.c:19