UpnpExtraHeaders.h
Go to the documentation of this file.
#ifndef UPNPEXTRAHEADERS_H
#define UPNPEXTRAHEADERS_H
#include <stdlib.h> /* for size_t */
#include "UpnpGlobal.h" /* for UPNP_EXPORT_SPEC */
#include "UpnpString.h"
#include "ixml.h"
#include "list.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef struct s_UpnpExtraHeaders UpnpExtraHeaders;
UPNP_EXPORT_SPEC UpnpExtraHeaders *UpnpExtraHeaders_new(void);
UPNP_EXPORT_SPEC void UpnpExtraHeaders_delete(UpnpExtraHeaders *p);
UPNP_EXPORT_SPEC UpnpExtraHeaders *UpnpExtraHeaders_dup(
const UpnpExtraHeaders *p);
UPNP_EXPORT_SPEC int UpnpExtraHeaders_assign(
UpnpExtraHeaders *p, const UpnpExtraHeaders *q);
UPNP_EXPORT_SPEC const UpnpListHead *UpnpExtraHeaders_get_node(
const UpnpExtraHeaders *p);
UPNP_EXPORT_SPEC int UpnpExtraHeaders_set_node(
UpnpExtraHeaders *p, const UpnpListHead *q);
UPNP_EXPORT_SPEC void UpnpExtraHeaders_add_to_list_node(
UpnpExtraHeaders *p, UpnpListHead *head);
UPNP_EXPORT_SPEC const UpnpString *UpnpExtraHeaders_get_name(
const UpnpExtraHeaders *p);
UPNP_EXPORT_SPEC int UpnpExtraHeaders_set_name(
UpnpExtraHeaders *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpExtraHeaders_get_name_Length(
const UpnpExtraHeaders *p);
UPNP_EXPORT_SPEC const char *UpnpExtraHeaders_get_name_cstr(
const UpnpExtraHeaders *p);
UPNP_EXPORT_SPEC int UpnpExtraHeaders_strcpy_name(
UpnpExtraHeaders *p, const char *s);
UPNP_EXPORT_SPEC int UpnpExtraHeaders_strncpy_name(
UpnpExtraHeaders *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpExtraHeaders_clear_name(UpnpExtraHeaders *p);
UPNP_EXPORT_SPEC const UpnpString *UpnpExtraHeaders_get_value(
const UpnpExtraHeaders *p);
UPNP_EXPORT_SPEC int UpnpExtraHeaders_set_value(
UpnpExtraHeaders *p, const UpnpString *s);
UPNP_EXPORT_SPEC size_t UpnpExtraHeaders_get_value_Length(
const UpnpExtraHeaders *p);
UPNP_EXPORT_SPEC const char *UpnpExtraHeaders_get_value_cstr(
const UpnpExtraHeaders *p);
UPNP_EXPORT_SPEC int UpnpExtraHeaders_strcpy_value(
UpnpExtraHeaders *p, const char *s);
UPNP_EXPORT_SPEC int UpnpExtraHeaders_strncpy_value(
UpnpExtraHeaders *p, const char *s, size_t n);
UPNP_EXPORT_SPEC void UpnpExtraHeaders_clear_value(UpnpExtraHeaders *p);
UPNP_EXPORT_SPEC const DOMString UpnpExtraHeaders_get_resp(
const UpnpExtraHeaders *p);
UPNP_EXPORT_SPEC int UpnpExtraHeaders_set_resp(
UpnpExtraHeaders *p, const DOMString s);
UPNP_EXPORT_SPEC const char *UpnpExtraHeaders_get_resp_cstr(
const UpnpExtraHeaders *p);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* UPNPEXTRAHEADERS_H */
UpnpExtraHeaders_get_value_Length
size_t UpnpExtraHeaders_get_value_Length(const UpnpExtraHeaders *p)
Definition UpnpExtraHeaders.c:158
UpnpExtraHeaders_delete
void UpnpExtraHeaders_delete(UpnpExtraHeaders *p)
Definition UpnpExtraHeaders.c:42
UpnpExtraHeaders_clear_value
void UpnpExtraHeaders_clear_value(UpnpExtraHeaders *p)
Definition UpnpExtraHeaders.c:178
UpnpExtraHeaders_new
UpnpExtraHeaders * UpnpExtraHeaders_new(void)
Definition UpnpExtraHeaders.c:26
UpnpExtraHeaders_get_name
const UpnpString * UpnpExtraHeaders_get_name(const UpnpExtraHeaders *p)
Definition UpnpExtraHeaders.c:109
UpnpExtraHeaders_strcpy_name
int UpnpExtraHeaders_strcpy_name(UpnpExtraHeaders *p, const char *s)
Definition UpnpExtraHeaders.c:131
UpnpExtraHeaders_get_name_Length
size_t UpnpExtraHeaders_get_name_Length(const UpnpExtraHeaders *p)
Definition UpnpExtraHeaders.c:121
UpnpExtraHeaders_clear_name
void UpnpExtraHeaders_clear_name(UpnpExtraHeaders *p)
Definition UpnpExtraHeaders.c:141
UpnpExtraHeaders_get_resp_cstr
const char * UpnpExtraHeaders_get_resp_cstr(const UpnpExtraHeaders *p)
Definition UpnpExtraHeaders.c:199
UpnpExtraHeaders_get_value
const UpnpString * UpnpExtraHeaders_get_value(const UpnpExtraHeaders *p)
Definition UpnpExtraHeaders.c:146
UpnpExtraHeaders_strcpy_value
int UpnpExtraHeaders_strcpy_value(UpnpExtraHeaders *p, const char *s)
Definition UpnpExtraHeaders.c:168
UpnpExtraHeaders_get_resp
const DOMString UpnpExtraHeaders_get_resp(const UpnpExtraHeaders *p)
Definition UpnpExtraHeaders.c:183
UpnpExtraHeaders_get_node
const UpnpListHead * UpnpExtraHeaders_get_node(const UpnpExtraHeaders *p)
Definition UpnpExtraHeaders.c:90
UpnpExtraHeaders_get_name_cstr
const char * UpnpExtraHeaders_get_name_cstr(const UpnpExtraHeaders *p)
Definition UpnpExtraHeaders.c:126
UpnpExtraHeaders_add_to_list_node
void UpnpExtraHeaders_add_to_list_node(UpnpExtraHeaders *p, UpnpListHead *head)
Definition UpnpExtraHeaders.c:102
UpnpExtraHeaders_set_name
int UpnpExtraHeaders_set_name(UpnpExtraHeaders *p, const UpnpString *s)
Definition UpnpExtraHeaders.c:114
UpnpExtraHeaders_strncpy_value
int UpnpExtraHeaders_strncpy_value(UpnpExtraHeaders *p, const char *s, size_t n)
Definition UpnpExtraHeaders.c:173
UpnpExtraHeaders_dup
UpnpExtraHeaders * UpnpExtraHeaders_dup(const UpnpExtraHeaders *p)
Definition UpnpExtraHeaders.c:78
UpnpExtraHeaders
struct s_UpnpExtraHeaders UpnpExtraHeaders
Definition UpnpExtraHeaders.h:29
UpnpExtraHeaders_set_value
int UpnpExtraHeaders_set_value(UpnpExtraHeaders *p, const UpnpString *s)
Definition UpnpExtraHeaders.c:151
UpnpExtraHeaders_set_node
int UpnpExtraHeaders_set_node(UpnpExtraHeaders *p, const UpnpListHead *q)
Definition UpnpExtraHeaders.c:95
UpnpExtraHeaders_assign
int UpnpExtraHeaders_assign(UpnpExtraHeaders *p, const UpnpExtraHeaders *q)
Definition UpnpExtraHeaders.c:60
UpnpExtraHeaders_set_resp
int UpnpExtraHeaders_set_resp(UpnpExtraHeaders *p, const DOMString s)
Definition UpnpExtraHeaders.c:188
UpnpExtraHeaders_get_value_cstr
const char * UpnpExtraHeaders_get_value_cstr(const UpnpExtraHeaders *p)
Definition UpnpExtraHeaders.c:163
UpnpExtraHeaders_strncpy_name
int UpnpExtraHeaders_strncpy_name(UpnpExtraHeaders *p, const char *s, size_t n)
Definition UpnpExtraHeaders.c:136
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.
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
UpnpListHead
Definition list.h:52
s_UpnpExtraHeaders
Definition UpnpExtraHeaders.c:19