_plugin_schedular_imported_funcs Struct Reference

#include <nntpgrab_plugin_schedular.h>


Data Fields

int  version
void(*  task_added )(const NNTPCollection *collection, const NNTPFile *file)
void(*  task_removed )(const char *collection_name, const char *subject, guint64 total_size, guint64 total_size_remaining)
void(*  task_state_changed )(const char *collection_name, const char *subject, TaskState old_state, TaskState new_state)
void(*  collection_added )(const char *collection_name)
void(*  collection_removed )(const char *collection_name)
void(*  notify_schedular_state_changed )(SchedularState new_state, const char *reason)
GList *(*  config_get_avail_servers )(void)
ConfigServer *(*  config_get_server_info )(const char *servername)
ConfigOpts(*  config_get_opts )(void)
gpointer(*  nntp_connection_initialize )(const char *servername, NNTPGrabErrCode *err)
void(*  nntp_connection_destroy )(gpointer obj)
NNTPGrabErrCode(*  nntp_connection_get_part )(gpointer obj, const char *collection_name, const NNTPFile *file, const NNTPPart *part, char **reason)
gboolean(*  decode_file )(const char *collection_name, const NNTPFile *file, int *saved_errno)
void(*  emit_fatal_error )(const char *errmsg)
void(*  emit_part_download_complete )(const char *servername, gpointer connection, const char *collection_name, const char *subject, int partnum, int size)
void(*  emit_part_download_failed )(const char *servername, gpointer connection, const char *collection_name, const char *subject, int partnum, int size, gboolean all_servers_tried)
void(*  emit_task_moved )(const char *orig_collection_name, const char *subject, const char *new_collection_name, int old_position, int new_position)
void(*  emit_collection_moved )(const char *collection_name, int old_position, int new_position)
void(*  emit_file_download_state_update )(const char *collection_name, const char *subject, int num_parts_total, int num_parts_done, int num_parts_failed, guint64 file_size, guint64 file_size_remaining, guint64 total_file_size, guint64 total_file_size_remaining)

Detailed Description

Definition at line 26 of file nntpgrab_plugin_schedular.h.


Field Documentation

int _plugin_schedular_imported_funcs::version

Definition at line 27 of file nntpgrab_plugin_schedular.h.

void(* _plugin_schedular_imported_funcs::task_added)(const NNTPCollection *collection, const NNTPFile *file)

void(* _plugin_schedular_imported_funcs::task_removed)(const char *collection_name, const char *subject, guint64 total_size, guint64 total_size_remaining)

void(* _plugin_schedular_imported_funcs::task_state_changed)(const char *collection_name, const char *subject, TaskState old_state, TaskState new_state)

void(* _plugin_schedular_imported_funcs::collection_added)(const char *collection_name)

void(* _plugin_schedular_imported_funcs::collection_removed)(const char *collection_name)

void(* _plugin_schedular_imported_funcs::notify_schedular_state_changed)(SchedularState new_state, const char *reason)

GList*(* _plugin_schedular_imported_funcs::config_get_avail_servers)(void)

ConfigServer*(* _plugin_schedular_imported_funcs::config_get_server_info)(const char *servername)

ConfigOpts(* _plugin_schedular_imported_funcs::config_get_opts)(void)

gpointer(* _plugin_schedular_imported_funcs::nntp_connection_initialize)(const char *servername, NNTPGrabErrCode *err)

void(* _plugin_schedular_imported_funcs::nntp_connection_destroy)(gpointer obj)

NNTPGrabErrCode(* _plugin_schedular_imported_funcs::nntp_connection_get_part)(gpointer obj, const char *collection_name, const NNTPFile *file, const NNTPPart *part, char **reason)

gboolean(* _plugin_schedular_imported_funcs::decode_file)(const char *collection_name, const NNTPFile *file, int *saved_errno)

void(* _plugin_schedular_imported_funcs::emit_fatal_error)(const char *errmsg)

void(* _plugin_schedular_imported_funcs::emit_part_download_complete)(const char *servername, gpointer connection, const char *collection_name, const char *subject, int partnum, int size)

void(* _plugin_schedular_imported_funcs::emit_part_download_failed)(const char *servername, gpointer connection, const char *collection_name, const char *subject, int partnum, int size, gboolean all_servers_tried)

void(* _plugin_schedular_imported_funcs::emit_task_moved)(const char *orig_collection_name, const char *subject, const char *new_collection_name, int old_position, int new_position)

void(* _plugin_schedular_imported_funcs::emit_collection_moved)(const char *collection_name, int old_position, int new_position)

void(* _plugin_schedular_imported_funcs::emit_file_download_state_update)(const char *collection_name, const char *subject, int num_parts_total, int num_parts_done, int num_parts_failed, guint64 file_size, guint64 file_size_remaining, guint64 total_file_size, guint64 total_file_size_remaining)


The documentation for this struct was generated from the following file:
Generated on Tue Oct 14 01:40:44 2008 for NNTPGrab by  1.5.4