|
Data Structures |
struct | gnet_fi_info |
struct | gnet_fi_status |
struct | gnet_fi_chunks |
struct | dl_file_info |
Defines |
#define | FILE_INFO_COMPLETE(x) ((x)->done == (x)->size && (x)->file_size_known) |
#define | FILE_INFO_COMPLETE_AFTER(x, z) ((x)->done + (z) >= (x)->size && (x)->file_size_known) |
Typedefs |
typedef guint32 | gnet_fi_t |
typedef gnet_fi_info | gnet_fi_info_t |
typedef gnet_fi_status | gnet_fi_status_t |
typedef gnet_fi_chunks | gnet_fi_chunks_t |
typedef dl_file_info | fileinfo_t |
typedef void(* | fi_listener_t )(gnet_fi_t) |
typedef void(* | fi_src_listener_t )(gnet_fi_t, gnet_src_t) |
Enumerations |
enum | dl_chunk_status { DL_CHUNK_EMPTY = 0,
DL_CHUNK_BUSY = 1,
DL_CHUNK_DONE = 2
} |
| These used to be in fileinfo.h, but we need them now at several places. More...
|
enum | gnet_fi_ev_t {
EV_FI_ADDED = 0,
EV_FI_REMOVED,
EV_FI_INFO_CHANGED,
EV_FI_STATUS_CHANGED,
EV_FI_STATUS_CHANGED_TRANSIENT,
EV_FI_SRC_ADDED,
EV_FI_SRC_REMOVED,
EV_FI_RANGES_CHANGED,
EV_FI_EVENTS
} |