UpnpActionRequest.h
Go to the documentation of this file.
#ifndef UPNPACTIONREQUEST_H
#define UPNPACTIONREQUEST_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_UpnpActionRequest UpnpActionRequest;
UPNP_EXPORT_SPEC UpnpActionRequest *UpnpActionRequest_new(void);
UPNP_EXPORT_SPEC void UpnpActionRequest_delete(UpnpActionRequest *p);
UPNP_EXPORT_SPEC UpnpActionRequest *UpnpActionRequest_dup(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_assign(
UpnpActionRequest *p, const UpnpActionRequest *q);
UPNP_EXPORT_SPEC int UpnpActionRequest_get_ErrCode(const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_set_ErrCode(UpnpActionRequest *p, int n);
UPNP_EXPORT_SPEC int UpnpActionRequest_get_Socket(const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_set_Socket(UpnpActionRequest *p, int n);
UPNP_EXPORT_SPEC const UpnpString *UpnpActionRequest_get_ErrStr(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_set_ErrStr(
UpnpActionRequest *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpActionRequest_get_ErrStr_Length(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC const char *UpnpActionRequest_get_ErrStr_cstr(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_strcpy_ErrStr(
UpnpActionRequest *p, const char *s);
UPNP_EXPORT_SPEC int UpnpActionRequest_strncpy_ErrStr(
UpnpActionRequest *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpActionRequest_clear_ErrStr(UpnpActionRequest *p);
UPNP_EXPORT_SPEC const UpnpString *UpnpActionRequest_get_ActionName(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_set_ActionName(
UpnpActionRequest *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpActionRequest_get_ActionName_Length(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC const char *UpnpActionRequest_get_ActionName_cstr(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_strcpy_ActionName(
UpnpActionRequest *p, const char *s);
UPNP_EXPORT_SPEC int UpnpActionRequest_strncpy_ActionName(
UpnpActionRequest *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpActionRequest_clear_ActionName(UpnpActionRequest *p);
UPNP_EXPORT_SPEC const UpnpString *UpnpActionRequest_get_DevUDN(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_set_DevUDN(
UpnpActionRequest *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpActionRequest_get_DevUDN_Length(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC const char *UpnpActionRequest_get_DevUDN_cstr(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_strcpy_DevUDN(
UpnpActionRequest *p, const char *s);
UPNP_EXPORT_SPEC int UpnpActionRequest_strncpy_DevUDN(
UpnpActionRequest *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpActionRequest_clear_DevUDN(UpnpActionRequest *p);
UPNP_EXPORT_SPEC const UpnpString *UpnpActionRequest_get_ServiceID(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_set_ServiceID(
UpnpActionRequest *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpActionRequest_get_ServiceID_Length(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC const char *UpnpActionRequest_get_ServiceID_cstr(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_strcpy_ServiceID(
UpnpActionRequest *p, const char *s);
UPNP_EXPORT_SPEC int UpnpActionRequest_strncpy_ServiceID(
UpnpActionRequest *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpActionRequest_clear_ServiceID(UpnpActionRequest *p);
UPNP_EXPORT_SPEC IXML_Document *UpnpActionRequest_get_ActionRequest(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_set_ActionRequest(
UpnpActionRequest *p, IXML_Document *n);
UPNP_EXPORT_SPEC IXML_Document *UpnpActionRequest_get_ActionResult(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_set_ActionResult(
UpnpActionRequest *p, IXML_Document *n);
UPNP_EXPORT_SPEC IXML_Document *UpnpActionRequest_get_SoapHeader(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_set_SoapHeader(
UpnpActionRequest *p, IXML_Document *n);
UPNP_EXPORT_SPEC const struct sockaddr_storage *
UpnpActionRequest_get_CtrlPtIPAddr(const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_set_CtrlPtIPAddr(
UpnpActionRequest *p, const struct sockaddr_storage *buf);
UPNP_EXPORT_SPEC void UpnpActionRequest_clear_CtrlPtIPAddr(
UpnpActionRequest *p);
UPNP_EXPORT_SPEC const UpnpString *UpnpActionRequest_get_Os(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_set_Os(
UpnpActionRequest *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpActionRequest_get_Os_Length(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC const char *UpnpActionRequest_get_Os_cstr(
const UpnpActionRequest *p);
UPNP_EXPORT_SPEC int UpnpActionRequest_strcpy_Os(
UpnpActionRequest *p, const char *s);
UPNP_EXPORT_SPEC int UpnpActionRequest_strncpy_Os(
UpnpActionRequest *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpActionRequest_clear_Os(UpnpActionRequest *p);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* UPNPACTIONREQUEST_H */
UpnpActionRequest_delete
void UpnpActionRequest_delete(UpnpActionRequest *p)
Definition UpnpActionRequest.c:56
UpnpActionRequest_clear_CtrlPtIPAddr
void UpnpActionRequest_clear_CtrlPtIPAddr(UpnpActionRequest *p)
Definition UpnpActionRequest.c:353
UpnpActionRequest_get_ActionName
const UpnpString * UpnpActionRequest_get_ActionName(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:189
UpnpActionRequest_clear_ErrStr
void UpnpActionRequest_clear_ErrStr(UpnpActionRequest *p)
Definition UpnpActionRequest.c:184
UpnpActionRequest_set_ServiceID
int UpnpActionRequest_set_ServiceID(UpnpActionRequest *p, const UpnpString *s)
Definition UpnpActionRequest.c:270
UpnpActionRequest_set_ActionRequest
int UpnpActionRequest_set_ActionRequest(UpnpActionRequest *p, IXML_Document *n)
Definition UpnpActionRequest.c:308
UpnpActionRequest_get_ErrCode
int UpnpActionRequest_get_ErrCode(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:127
UpnpActionRequest_strncpy_DevUDN
int UpnpActionRequest_strncpy_DevUDN(UpnpActionRequest *p, const char *s, size_t n)
Definition UpnpActionRequest.c:254
UpnpActionRequest_clear_DevUDN
void UpnpActionRequest_clear_DevUDN(UpnpActionRequest *p)
Definition UpnpActionRequest.c:260
UpnpActionRequest_strcpy_Os
int UpnpActionRequest_strcpy_Os(UpnpActionRequest *p, const char *s)
Definition UpnpActionRequest.c:380
UpnpActionRequest_clear_ActionName
void UpnpActionRequest_clear_ActionName(UpnpActionRequest *p)
Definition UpnpActionRequest.c:222
UpnpActionRequest_set_ErrCode
int UpnpActionRequest_set_ErrCode(UpnpActionRequest *p, int n)
Definition UpnpActionRequest.c:132
UpnpActionRequest_set_CtrlPtIPAddr
int UpnpActionRequest_set_CtrlPtIPAddr(UpnpActionRequest *p, const struct sockaddr_storage *buf)
Definition UpnpActionRequest.c:345
UpnpActionRequest_get_ActionName_cstr
const char * UpnpActionRequest_get_ActionName_cstr(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:206
UpnpActionRequest_set_ActionResult
int UpnpActionRequest_set_ActionResult(UpnpActionRequest *p, IXML_Document *n)
Definition UpnpActionRequest.c:320
UpnpActionRequest_strncpy_Os
int UpnpActionRequest_strncpy_Os(UpnpActionRequest *p, const char *s, size_t n)
Definition UpnpActionRequest.c:385
UpnpActionRequest_strcpy_ErrStr
int UpnpActionRequest_strcpy_ErrStr(UpnpActionRequest *p, const char *s)
Definition UpnpActionRequest.c:173
UpnpActionRequest_strncpy_ServiceID
int UpnpActionRequest_strncpy_ServiceID(UpnpActionRequest *p, const char *s, size_t n)
Definition UpnpActionRequest.c:292
UpnpActionRequest_clear_ServiceID
void UpnpActionRequest_clear_ServiceID(UpnpActionRequest *p)
Definition UpnpActionRequest.c:298
UpnpActionRequest_get_Os_cstr
const char * UpnpActionRequest_get_Os_cstr(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:375
UpnpActionRequest_strcpy_ServiceID
int UpnpActionRequest_strcpy_ServiceID(UpnpActionRequest *p, const char *s)
Definition UpnpActionRequest.c:287
UpnpActionRequest_strncpy_ErrStr
int UpnpActionRequest_strncpy_ErrStr(UpnpActionRequest *p, const char *s, size_t n)
Definition UpnpActionRequest.c:178
UpnpActionRequest_get_ActionName_Length
size_t UpnpActionRequest_get_ActionName_Length(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:201
UpnpActionRequest_get_ServiceID
const UpnpString * UpnpActionRequest_get_ServiceID(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:265
UpnpActionRequest_assign
int UpnpActionRequest_assign(UpnpActionRequest *p, const UpnpActionRequest *q)
Definition UpnpActionRequest.c:83
UpnpActionRequest_get_ErrStr
const UpnpString * UpnpActionRequest_get_ErrStr(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:151
UpnpActionRequest_get_ActionResult
IXML_Document * UpnpActionRequest_get_ActionResult(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:315
UpnpActionRequest_dup
UpnpActionRequest * UpnpActionRequest_dup(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:115
UpnpActionRequest_get_Socket
int UpnpActionRequest_get_Socket(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:139
UpnpActionRequest_get_DevUDN_cstr
const char * UpnpActionRequest_get_DevUDN_cstr(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:244
UpnpActionRequest_set_Socket
int UpnpActionRequest_set_Socket(UpnpActionRequest *p, int n)
Definition UpnpActionRequest.c:144
UpnpActionRequest_get_DevUDN
const UpnpString * UpnpActionRequest_get_DevUDN(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:227
UpnpActionRequest_set_DevUDN
int UpnpActionRequest_set_DevUDN(UpnpActionRequest *p, const UpnpString *s)
Definition UpnpActionRequest.c:232
UpnpActionRequest_get_DevUDN_Length
size_t UpnpActionRequest_get_DevUDN_Length(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:239
UpnpActionRequest_get_ActionRequest
IXML_Document * UpnpActionRequest_get_ActionRequest(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:303
UpnpActionRequest
struct s_UpnpActionRequest UpnpActionRequest
Definition UpnpActionRequest.h:29
UpnpActionRequest_get_ErrStr_cstr
const char * UpnpActionRequest_get_ErrStr_cstr(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:168
UpnpActionRequest_set_Os
int UpnpActionRequest_set_Os(UpnpActionRequest *p, const UpnpString *s)
Definition UpnpActionRequest.c:363
UpnpActionRequest_get_CtrlPtIPAddr
const struct sockaddr_storage * UpnpActionRequest_get_CtrlPtIPAddr(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:339
UpnpActionRequest_set_ActionName
int UpnpActionRequest_set_ActionName(UpnpActionRequest *p, const UpnpString *s)
Definition UpnpActionRequest.c:194
UpnpActionRequest_strcpy_DevUDN
int UpnpActionRequest_strcpy_DevUDN(UpnpActionRequest *p, const char *s)
Definition UpnpActionRequest.c:249
UpnpActionRequest_set_ErrStr
int UpnpActionRequest_set_ErrStr(UpnpActionRequest *p, const UpnpString *s)
Definition UpnpActionRequest.c:156
UpnpActionRequest_get_SoapHeader
IXML_Document * UpnpActionRequest_get_SoapHeader(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:327
UpnpActionRequest_strncpy_ActionName
int UpnpActionRequest_strncpy_ActionName(UpnpActionRequest *p, const char *s, size_t n)
Definition UpnpActionRequest.c:216
UpnpActionRequest_clear_Os
void UpnpActionRequest_clear_Os(UpnpActionRequest *p)
Definition UpnpActionRequest.c:390
UpnpActionRequest_set_SoapHeader
int UpnpActionRequest_set_SoapHeader(UpnpActionRequest *p, IXML_Document *n)
Definition UpnpActionRequest.c:332
UpnpActionRequest_new
UpnpActionRequest * UpnpActionRequest_new(void)
Definition UpnpActionRequest.c:33
UpnpActionRequest_get_Os
const UpnpString * UpnpActionRequest_get_Os(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:358
UpnpActionRequest_get_ServiceID_cstr
const char * UpnpActionRequest_get_ServiceID_cstr(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:282
UpnpActionRequest_strcpy_ActionName
int UpnpActionRequest_strcpy_ActionName(UpnpActionRequest *p, const char *s)
Definition UpnpActionRequest.c:211
UpnpActionRequest_get_Os_Length
size_t UpnpActionRequest_get_Os_Length(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:370
UpnpActionRequest_get_ServiceID_Length
size_t UpnpActionRequest_get_ServiceID_Length(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:277
UpnpActionRequest_get_ErrStr_Length
size_t UpnpActionRequest_get_ErrStr_Length(const UpnpActionRequest *p)
Definition UpnpActionRequest.c:163
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.
UpnpString.h
UpnpString object declaration.
UpnpString
struct s_UpnpString UpnpString
Type of the string objects inside libupnp.
Definition UpnpString.h:33
IXML_Document
struct _IXML_Document IXML_Document
Data structure representing the DOM Document.
ixml.h
s_UpnpActionRequest
Definition UpnpActionRequest.c:19