Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

shared_file Struct Reference

#include <share.h>


Data Fields

const gchar * file_path
 The full path of the file (atom!).

const gchar * name_nfc
 UTF-8 NFC version of filename (atom!).

const gchar * name_canonic
 UTF-8 canonized ver.

const gchar * content_type
 MIME content type (static string).

dl_file_infofi
 PFSP-server: the holding fileinfo.

filesize_t file_size
 File size in Bytes.

guint32 file_index
 the files index within our local DB

gint refcnt
 Reference count.

guint32 flags
 See below for definition.

size_t name_nfc_len
 strlen(name_nfc)

size_t name_canonic_len
 strlen(name_canonic)

time_t mtime
 Last modif.

gchar sha1_digest [SHA1_RAW_SIZE]
 SHA1 digest, binary form.


Field Documentation

const gchar* shared_file::content_type
 

MIME content type (static string).

struct dl_file_info* shared_file::fi
 

PFSP-server: the holding fileinfo.

guint32 shared_file::file_index
 

the files index within our local DB

const gchar* shared_file::file_path
 

The full path of the file (atom!).

filesize_t shared_file::file_size
 

File size in Bytes.

guint32 shared_file::flags
 

See below for definition.

time_t shared_file::mtime
 

Last modif.

time, for SHA1 computation

const gchar* shared_file::name_canonic
 

UTF-8 canonized ver.

of filename (atom)!

size_t shared_file::name_canonic_len
 

strlen(name_canonic)

const gchar* shared_file::name_nfc
 

UTF-8 NFC version of filename (atom!).

size_t shared_file::name_nfc_len
 

strlen(name_nfc)

gint shared_file::refcnt
 

Reference count.

gchar shared_file::sha1_digest[SHA1_RAW_SIZE]
 

SHA1 digest, binary form.


The documentation for this struct was generated from the following file:
Generated on Sun Feb 12 10:50:13 2006 for Gtk-Gnutella by doxygen 1.3.6