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

dl_file_info Struct Reference

#include <fileinfo.h>


Data Fields

gnet_fi_t fi_handle
 Handle.

gchar * guid
 Unique fileinfo ID.

guint32 flags
 Operating flags.

gchar * file_name
 Output file name (atom).

gchar * path
 Output file path (atom).

GSList * alias
 List of file name aliases (atoms).

filesize_t size
 File size.

guint64 * size_atom
 File size (atom -- points to value in memory).

gchar * sha1
 server SHA1 (atom) if known, NULL if not

gchar * cha1
 computed SHA1 (atom) if known, NULL if not

gint32 refcount
 Reference count of file (number of sources).

GSList * sources
 list of sources (struct download *)

gint32 lifecount
 Amount of "alive" downloads referencing us.

time_t stamp
 Time stamp.

time_t ctime
 Creation time stamp.

time_t ntime
 Last time a new source was added.

time_t last_flush
 When last flush to disk occurred.

time_t last_dmesh
 When last dmesh query was used.

filesize_t done
 Total number of bytes completed.

GSList * chunklist
 List of ranges within file.

GSList * seen_on_network
 List of ranges available on network.

guint32 generation
 Generation number, incremented on disk update.

shared_filesf
 When PFSP-server is enabled, share this file.

gboolean file_size_known
 File size known?

gboolean use_swarming
 Use swarming?

gboolean dirty
 Does it need saving?

gboolean dirty_status
 Notify about status change on next interval.

gboolean hashed
 In hash tables?

guint32 aqueued_count
 Actively queued sources.

guint32 pqueued_count
 Passively queued sources.

gint32 recvcount
 Amount of "receiving" d/l referencing us.

guint32 recv_last_rate
 Last amount of bytes/sec received.

guint32 recv_amount
 Amount of bytes received this period.

time_t recv_last_time
 When did we last compute recv_last_rate?

guint cha1_elapsed
 Time spent to compute the SHA1.

filesize_t cha1_hashed
 Amount of bytes hashed so far.

guint copy_elapsed
 Time spent to copy the file.

filesize_t copied
 Amount of bytes copied so far.


Field Documentation

GSList* dl_file_info::alias
 

List of file name aliases (atoms).

guint32 dl_file_info::aqueued_count
 

Actively queued sources.

gchar* dl_file_info::cha1
 

computed SHA1 (atom) if known, NULL if not

guint dl_file_info::cha1_elapsed
 

Time spent to compute the SHA1.

filesize_t dl_file_info::cha1_hashed
 

Amount of bytes hashed so far.

GSList* dl_file_info::chunklist
 

List of ranges within file.

filesize_t dl_file_info::copied
 

Amount of bytes copied so far.

guint dl_file_info::copy_elapsed
 

Time spent to copy the file.

time_t dl_file_info::ctime
 

Creation time stamp.

gboolean dl_file_info::dirty
 

Does it need saving?

gboolean dl_file_info::dirty_status
 

Notify about status change on next interval.

filesize_t dl_file_info::done
 

Total number of bytes completed.

gnet_fi_t dl_file_info::fi_handle
 

Handle.

gchar* dl_file_info::file_name
 

Output file name (atom).

gboolean dl_file_info::file_size_known
 

File size known?

guint32 dl_file_info::flags
 

Operating flags.

guint32 dl_file_info::generation
 

Generation number, incremented on disk update.

gchar* dl_file_info::guid
 

Unique fileinfo ID.

gboolean dl_file_info::hashed
 

In hash tables?

time_t dl_file_info::last_dmesh
 

When last dmesh query was used.

time_t dl_file_info::last_flush
 

When last flush to disk occurred.

gint32 dl_file_info::lifecount
 

Amount of "alive" downloads referencing us.

time_t dl_file_info::ntime
 

Last time a new source was added.

gchar* dl_file_info::path
 

Output file path (atom).

guint32 dl_file_info::pqueued_count
 

Passively queued sources.

guint32 dl_file_info::recv_amount
 

Amount of bytes received this period.

guint32 dl_file_info::recv_last_rate
 

Last amount of bytes/sec received.

time_t dl_file_info::recv_last_time
 

When did we last compute recv_last_rate?

gint32 dl_file_info::recvcount
 

Amount of "receiving" d/l referencing us.

gint32 dl_file_info::refcount
 

Reference count of file (number of sources).

GSList* dl_file_info::seen_on_network
 

List of ranges available on network.

struct shared_file* dl_file_info::sf
 

When PFSP-server is enabled, share this file.

gchar* dl_file_info::sha1
 

server SHA1 (atom) if known, NULL if not

filesize_t dl_file_info::size
 

File size.

guint64* dl_file_info::size_atom
 

File size (atom -- points to value in memory).

GSList* dl_file_info::sources
 

list of sources (struct download *)

time_t dl_file_info::stamp
 

Time stamp.

gboolean dl_file_info::use_swarming
 

Use swarming?


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