UpnpSubscriptionRequest.h
Go to the documentation of this file.
#ifndef UPNPSUBSCRIPTIONREQUEST_H
#define UPNPSUBSCRIPTIONREQUEST_H
#include <stdlib.h> /* for size_t */
#include "UpnpGlobal.h" /* for UPNP_EXPORT_SPEC */
#include "UpnpString.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef struct s_UpnpSubscriptionRequest UpnpSubscriptionRequest;
UPNP_EXPORT_SPEC UpnpSubscriptionRequest *UpnpSubscriptionRequest_new(void);
UPNP_EXPORT_SPEC void UpnpSubscriptionRequest_delete(
UpnpSubscriptionRequest *p);
UPNP_EXPORT_SPEC UpnpSubscriptionRequest *UpnpSubscriptionRequest_dup(
const UpnpSubscriptionRequest *p);
UPNP_EXPORT_SPEC int UpnpSubscriptionRequest_assign(
UpnpSubscriptionRequest *p, const UpnpSubscriptionRequest *q);
UPNP_EXPORT_SPEC const UpnpString *UpnpSubscriptionRequest_get_ServiceId(
const UpnpSubscriptionRequest *p);
UPNP_EXPORT_SPEC int UpnpSubscriptionRequest_set_ServiceId(
UpnpSubscriptionRequest *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpSubscriptionRequest_get_ServiceId_Length(
const UpnpSubscriptionRequest *p);
UPNP_EXPORT_SPEC const char *UpnpSubscriptionRequest_get_ServiceId_cstr(
const UpnpSubscriptionRequest *p);
UPNP_EXPORT_SPEC int UpnpSubscriptionRequest_strcpy_ServiceId(
UpnpSubscriptionRequest *p, const char *s);
UPNP_EXPORT_SPEC int UpnpSubscriptionRequest_strncpy_ServiceId(
UpnpSubscriptionRequest *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpSubscriptionRequest_clear_ServiceId(
UpnpSubscriptionRequest *p);
UPNP_EXPORT_SPEC const UpnpString *UpnpSubscriptionRequest_get_UDN(
const UpnpSubscriptionRequest *p);
UPNP_EXPORT_SPEC int UpnpSubscriptionRequest_set_UDN(
UpnpSubscriptionRequest *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpSubscriptionRequest_get_UDN_Length(
const UpnpSubscriptionRequest *p);
UPNP_EXPORT_SPEC const char *UpnpSubscriptionRequest_get_UDN_cstr(
const UpnpSubscriptionRequest *p);
UPNP_EXPORT_SPEC int UpnpSubscriptionRequest_strcpy_UDN(
UpnpSubscriptionRequest *p, const char *s);
UPNP_EXPORT_SPEC int UpnpSubscriptionRequest_strncpy_UDN(
UpnpSubscriptionRequest *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpSubscriptionRequest_clear_UDN(
UpnpSubscriptionRequest *p);
UPNP_EXPORT_SPEC const UpnpString *UpnpSubscriptionRequest_get_SID(
const UpnpSubscriptionRequest *p);
UPNP_EXPORT_SPEC int UpnpSubscriptionRequest_set_SID(
UpnpSubscriptionRequest *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpSubscriptionRequest_get_SID_Length(
const UpnpSubscriptionRequest *p);
UPNP_EXPORT_SPEC const char *UpnpSubscriptionRequest_get_SID_cstr(
const UpnpSubscriptionRequest *p);
UPNP_EXPORT_SPEC int UpnpSubscriptionRequest_strcpy_SID(
UpnpSubscriptionRequest *p, const char *s);
UPNP_EXPORT_SPEC int UpnpSubscriptionRequest_strncpy_SID(
UpnpSubscriptionRequest *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpSubscriptionRequest_clear_SID(
UpnpSubscriptionRequest *p);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* UPNPSUBSCRIPTIONREQUEST_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
UpnpString.h
UpnpString object declaration.
UpnpSubscriptionRequest_delete
void UpnpSubscriptionRequest_delete(UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:40
UpnpSubscriptionRequest_get_ServiceId
const UpnpString * UpnpSubscriptionRequest_get_ServiceId(const UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:88
UpnpSubscriptionRequest_get_SID_cstr
const char * UpnpSubscriptionRequest_get_SID_cstr(const UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:192
UpnpSubscriptionRequest_get_SID_Length
size_t UpnpSubscriptionRequest_get_SID_Length(const UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:187
UpnpSubscriptionRequest_set_SID
int UpnpSubscriptionRequest_set_SID(UpnpSubscriptionRequest *p, const UpnpString *s)
Definition UpnpSubscriptionRequest.c:179
UpnpSubscriptionRequest_strncpy_ServiceId
int UpnpSubscriptionRequest_strncpy_ServiceId(UpnpSubscriptionRequest *p, const char *s, size_t n)
Definition UpnpSubscriptionRequest.c:120
UpnpSubscriptionRequest_dup
UpnpSubscriptionRequest * UpnpSubscriptionRequest_dup(const UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:75
UpnpSubscriptionRequest_strcpy_UDN
int UpnpSubscriptionRequest_strcpy_UDN(UpnpSubscriptionRequest *p, const char *s)
Definition UpnpSubscriptionRequest.c:156
UpnpSubscriptionRequest_clear_ServiceId
void UpnpSubscriptionRequest_clear_ServiceId(UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:126
UpnpSubscriptionRequest_new
UpnpSubscriptionRequest * UpnpSubscriptionRequest_new(void)
Definition UpnpSubscriptionRequest.c:25
UpnpSubscriptionRequest_strcpy_ServiceId
int UpnpSubscriptionRequest_strcpy_ServiceId(UpnpSubscriptionRequest *p, const char *s)
Definition UpnpSubscriptionRequest.c:114
UpnpSubscriptionRequest_get_UDN_cstr
const char * UpnpSubscriptionRequest_get_UDN_cstr(const UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:150
UpnpSubscriptionRequest_set_ServiceId
int UpnpSubscriptionRequest_set_ServiceId(UpnpSubscriptionRequest *p, const UpnpString *s)
Definition UpnpSubscriptionRequest.c:94
UpnpSubscriptionRequest_clear_UDN
void UpnpSubscriptionRequest_clear_UDN(UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:168
UpnpSubscriptionRequest_get_ServiceId_Length
size_t UpnpSubscriptionRequest_get_ServiceId_Length(const UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:102
UpnpSubscriptionRequest_assign
int UpnpSubscriptionRequest_assign(UpnpSubscriptionRequest *p, const UpnpSubscriptionRequest *q)
Definition UpnpSubscriptionRequest.c:58
UpnpSubscriptionRequest_strcpy_SID
int UpnpSubscriptionRequest_strcpy_SID(UpnpSubscriptionRequest *p, const char *s)
Definition UpnpSubscriptionRequest.c:198
UpnpSubscriptionRequest_get_UDN
const UpnpString * UpnpSubscriptionRequest_get_UDN(const UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:131
UpnpSubscriptionRequest_strncpy_SID
int UpnpSubscriptionRequest_strncpy_SID(UpnpSubscriptionRequest *p, const char *s, size_t n)
Definition UpnpSubscriptionRequest.c:204
UpnpSubscriptionRequest_clear_SID
void UpnpSubscriptionRequest_clear_SID(UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:210
UpnpSubscriptionRequest_get_ServiceId_cstr
const char * UpnpSubscriptionRequest_get_ServiceId_cstr(const UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:108
UpnpSubscriptionRequest_set_UDN
int UpnpSubscriptionRequest_set_UDN(UpnpSubscriptionRequest *p, const UpnpString *s)
Definition UpnpSubscriptionRequest.c:137
UpnpSubscriptionRequest
struct s_UpnpSubscriptionRequest UpnpSubscriptionRequest
Definition UpnpSubscriptionRequest.h:27
UpnpSubscriptionRequest_strncpy_UDN
int UpnpSubscriptionRequest_strncpy_UDN(UpnpSubscriptionRequest *p, const char *s, size_t n)
Definition UpnpSubscriptionRequest.c:162
UpnpSubscriptionRequest_get_SID
const UpnpString * UpnpSubscriptionRequest_get_SID(const UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:173
UpnpSubscriptionRequest_get_UDN_Length
size_t UpnpSubscriptionRequest_get_UDN_Length(const UpnpSubscriptionRequest *p)
Definition UpnpSubscriptionRequest.c:145
UpnpString
struct s_UpnpString UpnpString
Type of the string objects inside libupnp.
Definition UpnpString.h:33
s_UpnpSubscriptionRequest
Definition UpnpSubscriptionRequest.c:19