libUPnP  1.6.20
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

§ 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}.

§ file_length

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

§ is_directory

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

§ is_readable

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

§ last_modified

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


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