File_Info Struct Reference

#include <upnp.h>

Data Fields

off_t file_length
time_t last_modified
int is_directory
int is_readable
int force_chunked
DOMString content_type
DOMString http_header

Detailed Description

Definition at line 895 of file upnp.h.


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

Definition at line 921 of file upnp.h.

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.

Definition at line 900 of file upnp.h.

set to 1 if the data should be sent out using chunked encoding, otherwise set to zero

Definition at line 916 of file upnp.h.

A header to be added to the HTTP response. The header will be automatically terminated with
by the SDK. This string needs to be allocated by the caller using { ixmlCloneDOMString}. When finished with it, the SDK frees the { DOMString}.

Definition at line 927 of file upnp.h.

If the file is a directory, { is_directory} contains a non-zero value. For a regular file, it should be 0.

Definition at line 908 of file upnp.h.

If the file or directory is readable, this contains a non-zero value. If unreadable, it should be set to 0.

Definition at line 912 of file upnp.h.

The time at which the contents of the file was modified; The time system is always local (not GMT).

Definition at line 904 of file upnp.h.


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

Generated on Fri Mar 26 20:16:57 2010 for MediaTomb by  doxygen 1.6.1