libUPnP  1.6.17
Data Fields
File_Info Struct Reference

Data Fields

off_t file_length
time_t last_modified
int is_directory
int is_readable
DOMString content_type

Field Documentation

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().

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().

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().

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().

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().


The documentation for this struct was generated from the following file: