#include #include #include #include #include #include #include #include #include "nntpgrab_plugin_schedular.h"#include "schedular_plugin.h"Go to the source code of this file.
        Functions | 
    |
| void | schedular_plugin_set_imported_funcs (PluginSchedularImportedFuncs funcs) | 
| void | imported_funcs_task_added (const NNTPCollection *collection, const NNTPFile *file) | 
| void | imported_funcs_task_removed (const char *collection_name, const char *subject, guint64 total_file_size, guint64 total_file_size_remaining) | 
| void | imported_funcs_task_state_changed (const char *collection_name, const char *subject, TaskState old_state, TaskState new_state) | 
| void | imported_funcs_collection_added (const char *collection_name) | 
| void | imported_funcs_collection_removed (const char *collection_name) | 
| void | imported_funcs_notify_schedular_state_changed (SchedularState new_state, const char *reason) | 
| GList * | imported_funcs_config_get_avail_servers (void) | 
| ConfigServer * | imported_funcs_config_get_server_info (const char *servername) | 
| ConfigOpts | imported_funcs_config_get_opts (void) | 
| gpointer | imported_funcs_nntp_connection_initialize (const char *servername, NNTPGrabErrCode *err) | 
| void | imported_funcs_nntp_connection_destroy (gpointer obj) | 
| NNTPGrabErrCode | imported_funcs_nntp_connection_get_part (gpointer obj, const char *collection_name, const NNTPFile *file, const NNTPPart *part, char **reason) | 
| gboolean | imported_funcs_decode_file (const char *collection_name, const NNTPFile *file, int *saved_errno) | 
| void | imported_funcs_emit_fatal_error (const char *errmsg) | 
| void | imported_funcs_emit_part_download_complete (const char *servername, gpointer nntp_connection, const char *collection_name, const char *subject, int partnum, int size) | 
| void | imported_funcs_emit_part_download_failed (const char *servername, gpointer nntp_connection, const char *collection_name, const char *subject, int partnum, int size, gboolean all_servers_tried) | 
| void | 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 | imported_funcs_emit_collection_moved (const char *collection_name, int old_position, int new_position) | 
| void | 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) | 
| void imported_funcs_collection_added | ( | const char * | collection_name | ) | 
Definition at line 58 of file imported_funcs.c.
| void imported_funcs_collection_removed | ( | const char * | collection_name | ) | 
Definition at line 64 of file imported_funcs.c.
| GList* imported_funcs_config_get_avail_servers | ( | void | ) | 
Definition at line 76 of file imported_funcs.c.
| ConfigOpts imported_funcs_config_get_opts | ( | void | ) | 
Definition at line 88 of file imported_funcs.c.
| ConfigServer* imported_funcs_config_get_server_info | ( | const char * | servername | ) | 
Definition at line 82 of file imported_funcs.c.
| gboolean imported_funcs_decode_file | ( | const char * | collection_name, | |
| const NNTPFile * | file, | |||
| int * | saved_errno | |||
| ) | 
Definition at line 112 of file imported_funcs.c.
| void imported_funcs_emit_collection_moved | ( | const char * | collection_name, | |
| int | old_position, | |||
| int | new_position | |||
| ) | 
Definition at line 142 of file imported_funcs.c.
| void imported_funcs_emit_fatal_error | ( | const char * | errmsg | ) | 
Definition at line 118 of file imported_funcs.c.
| void 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 | |||
| ) | 
Definition at line 148 of file imported_funcs.c.
| void imported_funcs_emit_part_download_complete | ( | const char * | servername, | |
| gpointer | nntp_connection, | |||
| const char * | collection_name, | |||
| const char * | subject, | |||
| int | partnum, | |||
| int | size | |||
| ) | 
Definition at line 124 of file imported_funcs.c.
| void imported_funcs_emit_part_download_failed | ( | const char * | servername, | |
| gpointer | nntp_connection, | |||
| const char * | collection_name, | |||
| const char * | subject, | |||
| int | partnum, | |||
| int | size, | |||
| gboolean | all_servers_tried | |||
| ) | 
Definition at line 130 of file imported_funcs.c.
| void imported_funcs_emit_task_moved | ( | const char * | orig_collection_name, | |
| const char * | subject, | |||
| const char * | new_collection_name, | |||
| int | old_position, | |||
| int | new_position | |||
| ) | 
Definition at line 136 of file imported_funcs.c.
| void imported_funcs_nntp_connection_destroy | ( | gpointer | obj | ) | 
Definition at line 100 of file imported_funcs.c.
| NNTPGrabErrCode imported_funcs_nntp_connection_get_part | ( | gpointer | obj, | |
| const char * | collection_name, | |||
| const NNTPFile * | file, | |||
| const NNTPPart * | part, | |||
| char ** | reason | |||
| ) | 
Definition at line 106 of file imported_funcs.c.
| gpointer imported_funcs_nntp_connection_initialize | ( | const char * | servername, | |
| NNTPGrabErrCode * | err | |||
| ) | 
Definition at line 94 of file imported_funcs.c.
| void imported_funcs_notify_schedular_state_changed | ( | SchedularState | new_state, | |
| const char * | reason | |||
| ) | 
Definition at line 70 of file imported_funcs.c.
| void imported_funcs_task_added | ( | const NNTPCollection * | collection, | |
| const NNTPFile * | file | |||
| ) | 
Definition at line 40 of file imported_funcs.c.
| void imported_funcs_task_removed | ( | const char * | collection_name, | |
| const char * | subject, | |||
| guint64 | total_file_size, | |||
| guint64 | total_file_size_remaining | |||
| ) | 
Definition at line 46 of file imported_funcs.c.
| void imported_funcs_task_state_changed | ( | const char * | collection_name, | |
| const char * | subject, | |||
| TaskState | old_state, | |||
| TaskState | new_state | |||
| ) | 
Definition at line 52 of file imported_funcs.c.
| void schedular_plugin_set_imported_funcs | ( | PluginSchedularImportedFuncs | funcs | ) | 
Definition at line 34 of file imported_funcs.c.