1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
|
#ifndef UPNPFILEINFO_H
#define UPNPFILEINFO_H
/*!
* \file
*
* \brief Header file for UpnpFileInfo methods.
*
* Do not edit this file, it is automatically generated. Please look at
* generator.c.
*
* \author Marcelo Roberto Jimenez
*/
#include <stdlib.h> /* for size_t */
#include "UpnpGlobal.h" /* for UPNP_EXPORT_SPEC */
#include "UpnpInet.h"
#include "UpnpString.h"
#include "ixml.h"
#include "list.h"
#include <sys/types.h>
#include <time.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/*!
* UpnpFileInfo
*/
typedef struct s_UpnpFileInfo UpnpFileInfo;
/*! Constructor */
UPNP_EXPORT_SPEC UpnpFileInfo *UpnpFileInfo_new();
/*! Destructor */
UPNP_EXPORT_SPEC void UpnpFileInfo_delete(UpnpFileInfo *p);
/*! Copy Constructor */
UPNP_EXPORT_SPEC UpnpFileInfo *UpnpFileInfo_dup(const UpnpFileInfo *p);
/*! Assignment operator */
UPNP_EXPORT_SPEC int UpnpFileInfo_assign(
UpnpFileInfo *p, const UpnpFileInfo *q);
/*! UpnpFileInfo_get_FileLength */
UPNP_EXPORT_SPEC off_t UpnpFileInfo_get_FileLength(const UpnpFileInfo *p);
/*! UpnpFileInfo_set_FileLength */
UPNP_EXPORT_SPEC int UpnpFileInfo_set_FileLength(UpnpFileInfo *p, off_t n);
/*! UpnpFileInfo_get_LastModified */
UPNP_EXPORT_SPEC time_t UpnpFileInfo_get_LastModified(const UpnpFileInfo *p);
/*! UpnpFileInfo_set_LastModified */
UPNP_EXPORT_SPEC int UpnpFileInfo_set_LastModified(UpnpFileInfo *p, time_t n);
/*! UpnpFileInfo_get_IsDirectory */
UPNP_EXPORT_SPEC int UpnpFileInfo_get_IsDirectory(const UpnpFileInfo *p);
/*! UpnpFileInfo_set_IsDirectory */
UPNP_EXPORT_SPEC int UpnpFileInfo_set_IsDirectory(UpnpFileInfo *p, int n);
/*! UpnpFileInfo_get_IsReadable */
UPNP_EXPORT_SPEC int UpnpFileInfo_get_IsReadable(const UpnpFileInfo *p);
/*! UpnpFileInfo_set_IsReadable */
UPNP_EXPORT_SPEC int UpnpFileInfo_set_IsReadable(UpnpFileInfo *p, int n);
/*! UpnpFileInfo_get_ContentType */
UPNP_EXPORT_SPEC const DOMString UpnpFileInfo_get_ContentType(
const UpnpFileInfo *p);
/*! UpnpFileInfo_set_ContentType */
UPNP_EXPORT_SPEC int UpnpFileInfo_set_ContentType(
UpnpFileInfo *p, const DOMString s);
/*! UpnpFileInfo_get_ContentType_cstr */
UPNP_EXPORT_SPEC const char *UpnpFileInfo_get_ContentType_cstr(
const UpnpFileInfo *p);
/*! UpnpFileInfo_get_ExtraHeadersList */
UPNP_EXPORT_SPEC const UpnpListHead *UpnpFileInfo_get_ExtraHeadersList(
const UpnpFileInfo *p);
/*! UpnpFileInfo_set_ExtraHeadersList */
UPNP_EXPORT_SPEC int UpnpFileInfo_set_ExtraHeadersList(
UpnpFileInfo *p, const UpnpListHead *q);
/*! UpnpFileInfo_add_to_list_ExtraHeadersList */
UPNP_EXPORT_SPEC void UpnpFileInfo_add_to_list_ExtraHeadersList(
UpnpFileInfo *p, UpnpListHead *head);
/*! UpnpFileInfo_get_CtrlPtIPAddr */
UPNP_EXPORT_SPEC const struct sockaddr_storage *UpnpFileInfo_get_CtrlPtIPAddr(
const UpnpFileInfo *p);
/*! UpnpFileInfo_get_CtrlPtIPAddr */
UPNP_EXPORT_SPEC int UpnpFileInfo_set_CtrlPtIPAddr(
UpnpFileInfo *p, const struct sockaddr_storage *buf);
/*! UpnpFileInfo_get_CtrlPtIPAddr */
UPNP_EXPORT_SPEC void UpnpFileInfo_clear_CtrlPtIPAddr(UpnpFileInfo *p);
/*! UpnpFileInfo_get_Os */
UPNP_EXPORT_SPEC const UpnpString *UpnpFileInfo_get_Os(const UpnpFileInfo *p);
/*! UpnpFileInfo_set_Os */
UPNP_EXPORT_SPEC int UpnpFileInfo_set_Os(UpnpFileInfo *p, const UpnpString *s);
/*! UpnpFileInfo_get_Os_Length */
UPNP_EXPORT_SPEC size_t UpnpFileInfo_get_Os_Length(const UpnpFileInfo *p);
/*! UpnpFileInfo_get_Os_cstr */
UPNP_EXPORT_SPEC const char *UpnpFileInfo_get_Os_cstr(const UpnpFileInfo *p);
/*! UpnpFileInfo_strcpy_Os */
UPNP_EXPORT_SPEC int UpnpFileInfo_strcpy_Os(UpnpFileInfo *p, const char *s);
/*! UpnpFileInfo_strncpy_Os */
UPNP_EXPORT_SPEC int UpnpFileInfo_strncpy_Os(
UpnpFileInfo *p, const char *s, size_t n);
/*! UpnpFileInfo_clear_Os */
UPNP_EXPORT_SPEC void UpnpFileInfo_clear_Os(UpnpFileInfo *p);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* UPNPFILEINFO_H */
|