#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_file * | sf |
| 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. | |
|
|
List of file name aliases (atoms).
|
|
|
Actively queued sources.
|
|
|
computed SHA1 (atom) if known, NULL if not
|
|
|
Time spent to compute the SHA1.
|
|
|
Amount of bytes hashed so far.
|
|
|
List of ranges within file.
|
|
|
Amount of bytes copied so far.
|
|
|
Time spent to copy the file.
|
|
|
Creation time stamp.
|
|
|
Does it need saving?
|
|
|
Notify about status change on next interval.
|
|
|
Total number of bytes completed.
|
|
|
Handle.
|
|
|
Output file name (atom).
|
|
|
File size known?
|
|
|
Operating flags.
|
|
|
Generation number, incremented on disk update.
|
|
|
Unique fileinfo ID.
|
|
|
In hash tables?
|
|
|
When last dmesh query was used.
|
|
|
When last flush to disk occurred.
|
|
|
Amount of "alive" downloads referencing us.
|
|
|
Last time a new source was added.
|
|
|
Output file path (atom).
|
|
|
Passively queued sources.
|
|
|
Amount of bytes received this period.
|
|
|
Last amount of bytes/sec received.
|
|
|
When did we last compute recv_last_rate?
|
|
|
Amount of "receiving" d/l referencing us.
|
|
|
Reference count of file (number of sources).
|
|
|
List of ranges available on network.
|
|
|
When PFSP-server is enabled, share this file.
|
|
|
server SHA1 (atom) if known, NULL if not
|
|
|
File size.
|
|
|
File size (atom -- points to value in memory).
|
|
|
list of sources (struct download *)
|
|
|
Time stamp.
|
|
|
Use swarming?
|
1.3.6