libUPnP
1.6.26
|
Data Fields | |
off_t | file_length |
time_t | last_modified |
int | is_directory |
int | is_readable |
DOMString | content_type |
struct Extra_Headers * | extra_headers |
DOMString File_Info::content_type |
The content type of the file. This string needs to be allocated by the caller using { ixmlCloneDOMString}. When finished with it, the SDK frees the { DOMString}.
struct Extra_Headers* File_Info::extra_headers |
Headers to be modified / added. A modified response must be allocated by the caller using { ixmlCloneDOMString}. When finished with it, the SDK frees all of them.
off_t File_Info::file_length |
The length of the file. A length less than 0 indicates the size is unknown, and data will be sent until 0 bytes are returned from a read call.
Referenced by get_alias().
int File_Info::is_directory |
If the file is a directory, { is_directory} contains a non-zero value. For a regular file, it should be 0.
Referenced by get_alias().
int File_Info::is_readable |
If the file or directory is readable, this contains a non-zero value. If unreadable, it should be set to 0.
Referenced by get_alias().
time_t File_Info::last_modified |
The time at which the contents of the file was modified; The time system is always local (not GMT).