|
libUPnP
1.6.17
|
Data Fields | |
| off_t | file_length |
| time_t | last_modified |
| int | is_directory |
| int | is_readable |
| DOMString | content_type |
| 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}.
Referenced by get_file_info(), and process_request().
| 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(), get_file_info(), and process_request().
| 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(), get_file_info(), and process_request().
| 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(), get_file_info(), and process_request().
| 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).
Referenced by get_alias(), get_file_info(), and process_request().
1.8.3.1