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

dl_file_info Struct Reference

#include <fileinfo.h>


Data Fields

gnet_fi_t fi_handle
 Handle.
const gchar * guid
 Unique fileinfo ID.
guint32 flags
 Operating flags.
const gchar * pathname
 Output pathname (atom).
GSList * alias
 List of file name aliases (atoms).
filesize_t size
 File size.
const struct sha1sha1
 server SHA1 (atom) if known, NULL if not
const struct tthtth
 server TTH (atom) if known, NULL if not
const struct sha1cha1
 computed SHA1 (atom) if known, NULL if not
struct {
   tth *   leaves
 Tigertree leaves.
   size_t   num_leaves
 Number of tigertree leaves.
tigertree
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 (flushed).
filesize_t buffered
 Amount of buffered data (unflushed).
filesize_t uploaded
 Amount of bytes uploaded.
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.

filesize_t dl_file_info::buffered
 

Amount of buffered data (unflushed).

const struct sha1* 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 (flushed).

gnet_fi_t dl_file_info::fi_handle
 

Handle.

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.

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

struct tth* dl_file_info::leaves
 

Tigertree leaves.

gint32 dl_file_info::lifecount
 

Amount of "alive" downloads referencing us.

time_t dl_file_info::ntime
 

Last time a new source was added.

size_t dl_file_info::num_leaves
 

Number of tigertree leaves.

const gchar* dl_file_info::pathname
 

Output pathname (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.

const struct sha1* dl_file_info::sha1
 

server SHA1 (atom) if known, NULL if not

filesize_t dl_file_info::size
 

File size.

GSList* dl_file_info::sources
 

list of sources (struct download *)

time_t dl_file_info::stamp
 

Time stamp.

struct { ... } dl_file_info::tigertree
 

const struct tth* dl_file_info::tth
 

server TTH (atom) if known, NULL if not

filesize_t dl_file_info::uploaded
 

Amount of bytes uploaded.

gboolean dl_file_info::use_swarming
 

Use swarming?


The documentation for this struct was generated from the following file:
Generated on Sat Jun 30 17:53:32 2007 for gtk-gnutella by  doxygen 1.3.9.1