UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
UpnpFileInfo.cpp File Reference

Source file for UpnpFileInfo methods. More...

#include <UpnpFileInfo.hpp>
#include <cstring>
#include <cstdlib>
+ Include dependency graph for UpnpFileInfo.cpp:

Go to the source code of this file.

Classes

struct  s_UpnpFileInfo
 s_UpnpFileInfo More...
 

Functions

UpnpFileInfoUpnpFileInfo_new ()
 
void UpnpFileInfo_delete (UpnpFileInfo *q)
 
int UpnpFileInfo_assign (UpnpFileInfo *p, const UpnpFileInfo *q)
 
UpnpFileInfoUpnpFileInfo_dup (const UpnpFileInfo *q)
 
off_t UpnpFileInfo_get_FileLength (const UpnpFileInfo *p)
 
int UpnpFileInfo_set_FileLength (UpnpFileInfo *p, off_t n)
 
time_t UpnpFileInfo_get_LastModified (const UpnpFileInfo *p)
 
int UpnpFileInfo_set_LastModified (UpnpFileInfo *p, time_t n)
 
int UpnpFileInfo_get_IsDirectory (const UpnpFileInfo *p)
 
int UpnpFileInfo_set_IsDirectory (UpnpFileInfo *p, int n)
 
int UpnpFileInfo_get_IsReadable (const UpnpFileInfo *p)
 
int UpnpFileInfo_set_IsReadable (UpnpFileInfo *p, int n)
 
const DOMString UpnpFileInfo_get_ContentType (const UpnpFileInfo *p)
 
int UpnpFileInfo_set_ContentType (UpnpFileInfo *p, const DOMString s)
 
const char * UpnpFileInfo_get_ContentType_cstr (const UpnpFileInfo *p)
 
const UpnpListHeadUpnpFileInfo_get_ExtraHeadersList (const UpnpFileInfo *p)
 
int UpnpFileInfo_set_ExtraHeadersList (UpnpFileInfo *p, const UpnpListHead *q)
 
void UpnpFileInfo_add_to_list_ExtraHeadersList (UpnpFileInfo *p, struct UpnpListHead *head)
 
const sockaddr_storage * UpnpFileInfo_get_CtrlPtIPAddr (const UpnpFileInfo *p)
 
int UpnpFileInfo_set_CtrlPtIPAddr (UpnpFileInfo *p, const struct sockaddr_storage *buf)
 
void UpnpFileInfo_clear_CtrlPtIPAddr (UpnpFileInfo *p)
 
const UpnpStringUpnpFileInfo_get_Os (const UpnpFileInfo *p)
 
int UpnpFileInfo_set_Os (UpnpFileInfo *p, const UpnpString *s)
 
size_t UpnpFileInfo_get_Os_Length (const UpnpFileInfo *p)
 
const char * UpnpFileInfo_get_Os_cstr (const UpnpFileInfo *p)
 
int UpnpFileInfo_strcpy_Os (UpnpFileInfo *p, const char *s)
 
int UpnpFileInfo_strncpy_Os (UpnpFileInfo *p, const char *s, size_t n)
 
void UpnpFileInfo_clear_Os (UpnpFileInfo *p)
 

Detailed Description

Source file for UpnpFileInfo methods.

Authors
Marcelo Roberto Jimenez, Ingo Höft

Definition in file UpnpFileInfo.cpp.


Class Documentation

◆ s_UpnpFileInfo

struct s_UpnpFileInfo

s_UpnpFileInfo

Definition at line 24 of file UpnpFileInfo.cpp.

+ Collaboration diagram for s_UpnpFileInfo:
Class Members
off_t m_FileLength

s_UpnpFileInfo

time_t m_LastModified

s_UpnpFileInfo

int m_IsDirectory

s_UpnpFileInfo

int m_IsReadable

s_UpnpFileInfo

DOMString m_ContentType

s_UpnpFileInfo

UpnpListHead m_ExtraHeadersList

s_UpnpFileInfo

struct sockaddr_storage m_CtrlPtIPAddr

s_UpnpFileInfo

UpnpString * m_Os

s_UpnpFileInfo

Function Documentation

◆ UpnpFileInfo_new()

UpnpFileInfo * UpnpFileInfo_new ( void  )

Constructor

Definition at line 38 of file UpnpFileInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpnpFileInfo_delete()

void UpnpFileInfo_delete ( UpnpFileInfo p)

Destructor

Definition at line 56 of file UpnpFileInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpnpFileInfo_assign()

int UpnpFileInfo_assign ( UpnpFileInfo p,
const UpnpFileInfo q 
)

Assignment operator

Definition at line 77 of file UpnpFileInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpnpFileInfo_dup()

UpnpFileInfo * UpnpFileInfo_dup ( const UpnpFileInfo p)

Copy Constructor

Definition at line 101 of file UpnpFileInfo.cpp.

+ Here is the call graph for this function:

◆ UpnpFileInfo_get_FileLength()

off_t UpnpFileInfo_get_FileLength ( const UpnpFileInfo p)

UpnpFileInfo_get_FileLength

Definition at line 112 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_set_FileLength()

int UpnpFileInfo_set_FileLength ( UpnpFileInfo p,
off_t  n 
)

UpnpFileInfo_set_FileLength

Definition at line 118 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_get_LastModified()

time_t UpnpFileInfo_get_LastModified ( const UpnpFileInfo p)

UpnpFileInfo_get_LastModified

Definition at line 127 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_set_LastModified()

int UpnpFileInfo_set_LastModified ( UpnpFileInfo p,
time_t  n 
)

UpnpFileInfo_set_LastModified

Definition at line 134 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_get_IsDirectory()

int UpnpFileInfo_get_IsDirectory ( const UpnpFileInfo p)

UpnpFileInfo_get_IsDirectory

Definition at line 143 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_set_IsDirectory()

int UpnpFileInfo_set_IsDirectory ( UpnpFileInfo p,
int  n 
)

UpnpFileInfo_set_IsDirectory

Definition at line 150 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_get_IsReadable()

int UpnpFileInfo_get_IsReadable ( const UpnpFileInfo p)

UpnpFileInfo_get_IsReadable

Definition at line 159 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_set_IsReadable()

int UpnpFileInfo_set_IsReadable ( UpnpFileInfo p,
int  n 
)

UpnpFileInfo_set_IsReadable

Definition at line 166 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_get_ContentType()

const DOMString UpnpFileInfo_get_ContentType ( const UpnpFileInfo p)

UpnpFileInfo_get_ContentType

Definition at line 175 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_set_ContentType()

int UpnpFileInfo_set_ContentType ( UpnpFileInfo p,
const DOMString  s 
)

UpnpFileInfo_set_ContentType

Definition at line 181 of file UpnpFileInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpnpFileInfo_get_ContentType_cstr()

const char * UpnpFileInfo_get_ContentType_cstr ( const UpnpFileInfo p)

UpnpFileInfo_get_ContentType_cstr

Definition at line 191 of file UpnpFileInfo.cpp.

+ Here is the call graph for this function:

◆ UpnpFileInfo_get_ExtraHeadersList()

const UpnpListHead * UpnpFileInfo_get_ExtraHeadersList ( const UpnpFileInfo p)

UpnpFileInfo_get_ExtraHeadersList

Definition at line 195 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_set_ExtraHeadersList()

int UpnpFileInfo_set_ExtraHeadersList ( UpnpFileInfo p,
const UpnpListHead q 
)

UpnpFileInfo_set_ExtraHeadersList

Definition at line 199 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_add_to_list_ExtraHeadersList()

void UpnpFileInfo_add_to_list_ExtraHeadersList ( UpnpFileInfo p,
UpnpListHead head 
)

UpnpFileInfo_add_to_list_ExtraHeadersList

Definition at line 208 of file UpnpFileInfo.cpp.

+ Here is the call graph for this function:

◆ UpnpFileInfo_get_CtrlPtIPAddr()

const sockaddr_storage * UpnpFileInfo_get_CtrlPtIPAddr ( const UpnpFileInfo p)

UpnpFileInfo_get_CtrlPtIPAddr

Definition at line 216 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_set_CtrlPtIPAddr()

int UpnpFileInfo_set_CtrlPtIPAddr ( UpnpFileInfo p,
const struct sockaddr_storage *  buf 
)

UpnpFileInfo_set_CtrlPtIPAddr

Definition at line 223 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_clear_CtrlPtIPAddr()

void UpnpFileInfo_clear_CtrlPtIPAddr ( UpnpFileInfo p)

UpnpFileInfo_clear_CtrlPtIPAddr

Definition at line 233 of file UpnpFileInfo.cpp.

◆ UpnpFileInfo_get_Os()

const UpnpString * UpnpFileInfo_get_Os ( const UpnpFileInfo p)

UpnpFileInfo_get_Os

Definition at line 240 of file UpnpFileInfo.cpp.

+ Here is the caller graph for this function:

◆ UpnpFileInfo_set_Os()

int UpnpFileInfo_set_Os ( UpnpFileInfo p,
const UpnpString s 
)

UpnpFileInfo_set_Os

Definition at line 247 of file UpnpFileInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpnpFileInfo_get_Os_Length()

size_t UpnpFileInfo_get_Os_Length ( const UpnpFileInfo p)

UpnpFileInfo_get_Os_Length

Definition at line 256 of file UpnpFileInfo.cpp.

+ Here is the call graph for this function:

◆ UpnpFileInfo_get_Os_cstr()

const char * UpnpFileInfo_get_Os_cstr ( const UpnpFileInfo p)

UpnpFileInfo_get_Os_cstr

Definition at line 260 of file UpnpFileInfo.cpp.

+ Here is the call graph for this function:

◆ UpnpFileInfo_strcpy_Os()

int UpnpFileInfo_strcpy_Os ( UpnpFileInfo p,
const char *  s 
)

UpnpFileInfo_strcpy_Os

Definition at line 264 of file UpnpFileInfo.cpp.

+ Here is the call graph for this function:

◆ UpnpFileInfo_strncpy_Os()

int UpnpFileInfo_strncpy_Os ( UpnpFileInfo p,
const char *  s,
size_t  n 
)

UpnpFileInfo_strncpy_Os

Definition at line 271 of file UpnpFileInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpnpFileInfo_clear_Os()

void UpnpFileInfo_clear_Os ( UpnpFileInfo p)

UpnpFileInfo_clear_Os

Definition at line 278 of file UpnpFileInfo.cpp.

+ Here is the call graph for this function: