libUPnP
1.8.0
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
upnp
inc
FileInfo.h
Go to the documentation of this file.
1
2
3
#ifndef FILEINFO_H
4
#define FILEINFO_H
5
6
17
typedef
struct
s_UpnpFileInfo
UpnpFileInfo
;
18
19
20
#include "
ixml.h
"
/* for DOMString */
21
#include "
UpnpGlobal.h
"
/* for EXPORT_SPEC */
22
23
24
#include <sys/types.h>
/* for off_t */
25
#include <time.h>
/* for time_t */
26
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
/* __cplusplus */
31
32
34
EXPORT_SPEC
UpnpFileInfo
*
UpnpFileInfo_new
();
35
37
EXPORT_SPEC
void
UpnpFileInfo_delete
(
UpnpFileInfo
*p);
38
40
EXPORT_SPEC
UpnpFileInfo
*
UpnpFileInfo_dup
(
const
UpnpFileInfo
*p);
41
43
EXPORT_SPEC
void
UpnpFileInfo_assign
(
UpnpFileInfo
*p,
const
UpnpFileInfo
*q);
44
48
EXPORT_SPEC
off_t
UpnpFileInfo_get_FileLength
(
const
UpnpFileInfo
*p);
49
EXPORT_SPEC
void
UpnpFileInfo_set_FileLength(
UpnpFileInfo
*p, off_t l);
50
53
EXPORT_SPEC
const
time_t *
UpnpFileInfo_get_LastModified
(
const
UpnpFileInfo
*p);
54
EXPORT_SPEC
void
UpnpFileInfo_set_LastModified(
UpnpFileInfo
*p,
const
time_t *t);
55
58
EXPORT_SPEC
int
UpnpFileInfo_get_IsDirectory
(
const
UpnpFileInfo
*p);
59
EXPORT_SPEC
void
UpnpFileInfo_set_IsDirectory(
UpnpFileInfo
*p,
int
b);
60
63
EXPORT_SPEC
int
UpnpFileInfo_get_IsReadable
(
const
UpnpFileInfo
*p);
64
EXPORT_SPEC
void
UpnpFileInfo_set_IsReadable(
UpnpFileInfo
*p,
int
b);
65
67
EXPORT_SPEC
const
DOMString
UpnpFileInfo_get_ContentType
(
const
UpnpFileInfo
*p);
68
EXPORT_SPEC
const
char
*UpnpFileInfo_get_ContentType_cstr(
const
UpnpFileInfo
*p);
69
EXPORT_SPEC
void
UpnpFileInfo_set_ContentType(
UpnpFileInfo
*p,
const
DOMString
s);
70
73
EXPORT_SPEC
const
DOMString
UpnpFileInfo_get_ExtraHeaders
(
const
UpnpFileInfo
*p);
74
EXPORT_SPEC
const
char
*UpnpFileInfo_get_ExtraHeaders_cstr(
const
UpnpFileInfo
*p);
75
EXPORT_SPEC
void
UpnpFileInfo_set_ExtraHeaders(
UpnpFileInfo
*p,
const
DOMString
s);
76
77
78
#ifdef __cplusplus
79
}
80
#endif
/* __cplusplus */
81
82
83
#endif
/* FILEINFO_H */
84
Generated on Sat Feb 2 2013 05:11:54 for libUPnP by
1.8.3.1