At this point the interface basically redirects function calls from the ui to the core and vice-versa. We may wish to split this file into multiple files at some point.
|
Defines |
#define | CORE_SOURCES |
Functions |
gboolean | guc_adns_resolve (const gchar *hostname, adns_callback_t user_callback, gpointer user_data) |
void | guc_query_bitzi_by_urn (const gchar *urnsha1) |
bitzi_data_t * | guc_querycache_bitzi_by_urn (const gchar *urnsha1) |
const gchar * | guc_build_url_from_download (const struct download *d) |
gint | guc_download_get_http_req_percent (const struct download *d) |
void | guc_download_fallback_to_push (struct download *d, gboolean on_timeout, gboolean user_request) |
gint | guc_download_remove_all_from_peer (gchar *guid, const host_addr_t addr, guint16 port, gboolean unavailable) |
gint | guc_download_remove_all_named (const gchar *name) |
gint | guc_download_remove_all_with_sha1 (const gchar *sha1) |
void | guc_download_remove_file (struct download *d, gboolean reset) |
gboolean | guc_download_file_exists (const struct download *d) |
void | guc_download_requeue (struct download *d) |
void | guc_download_start (struct download *d, gboolean check_allowed) |
gboolean | guc_download_remove (struct download *d) |
void | guc_download_abort (struct download *d) |
void | guc_download_resume (struct download *d) |
void | guc_download_freeze_queue (void) |
void | guc_download_thaw_queue (void) |
gint | guc_download_queue_is_frozen (void) |
void | guc_download_clear_stopped (gboolean complete, gboolean failed, gboolean unavailable, gboolean now) |
void | guc_download_auto_new (gchar *file, filesize_t size, guint32 record_index, const host_addr_t addr, guint16 port, const gchar *guid, gchar *hostname, gchar *sha1, time_t stamp, gboolean push, gboolean file_size_known, fileinfo_t *fi, gnet_host_vec_t *proxies, guint32 flags) |
gboolean | guc_download_new_unknown_size (gchar *file, guint32 record_index, const host_addr_t addr, guint16 port, const gchar *guid, gchar *hostname, gchar *sha1, time_t stamp, gboolean push, fileinfo_t *fi, gnet_host_vec_t *proxies, guint32 flags) |
const gchar * | guc_download_get_hostname (const struct download *d) |
const gchar * | guc_download_get_country (const struct download *d) |
gdouble | guc_download_source_progress (const struct download *d) |
gdouble | guc_download_total_progress (const struct download *d) |
gboolean | guc_download_something_to_clear (void) |
gboolean | guc_download_new (gchar *file, filesize_t size, guint32 record_index, const host_addr_t addr, guint16 port, const gchar *guid, gchar *hostname, gchar *sha1, time_t stamp, gboolean push, fileinfo_t *fi, gnet_host_vec_t *proxies, guint32 flags) |
gboolean | guc_download_new_uri (gchar *file, const gchar *uri, filesize_t size, const host_addr_t addr, guint16 port, const gchar *guid, gchar *hostname, gchar *sha1, time_t stamp, gboolean push, fileinfo_t *fi, gnet_host_vec_t *proxies, guint32 flags) |
void | guc_download_index_changed (const host_addr_t addr, guint16 port, gchar *guid, filesize_t from, filesize_t to) |
download * | guc_src_get_download (gnet_src_t src_handle) |
void | guc_src_add_listener (src_listener_t cb, gnet_src_ev_t ev, frequency_t t, guint32 interval) |
void | guc_src_remove_listener (src_listener_t cb, gnet_src_ev_t ev) |
const gchar * | guc_file_info_readable_filename (fileinfo_t *fi) |
gnet_fi_info_t * | guc_fi_get_info (gnet_fi_t fih) |
void | guc_fi_free_info (gnet_fi_info_t *info) |
void | guc_fi_get_status (gnet_fi_t fih, gnet_fi_status_t *s) |
gchar ** | guc_fi_get_aliases (gnet_fi_t fih) |
void | guc_fi_purge_by_handle_list (const GSList *list) |
void | guc_fi_add_listener (fi_listener_t cb, gnet_fi_ev_t ev, frequency_t t, guint32 interval) |
void | guc_fi_remove_listener (fi_listener_t cb, gnet_fi_ev_t ev) |
GSList * | guc_fi_get_chunks (gnet_fi_t fih) |
void | guc_fi_free_chunks (GSList *chunks) |
GSList * | guc_fi_get_ranges (gnet_fi_t fih) |
void | guc_fi_free_ranges (GSList *chunks) |
void | guc_gnet_stats_get (gnet_stats_t *stats) |
void | guc_gnet_stats_tcp_get (gnet_stats_t *stats) |
void | guc_gnet_stats_udp_get (gnet_stats_t *stats) |
void | guc_gnet_get_bw_stats (gnet_bw_source type, gnet_bw_stats_t *stats) |
void | guc_hcache_clear_host_type (host_type_t type) |
void | guc_hcache_clear (hcache_type_t type) |
void | guc_hcache_get_stats (hcache_stats_t *stats) |
const gchar * | guc_hsep_get_static_str (gint row, gint column) |
gint | guc_hsep_get_table_size (void) |
void | guc_hsep_get_non_hsep_triple (hsep_triple *tripledest) |
void | guc_hsep_add_global_table_listener (GCallback cb, frequency_t t, guint32 interval) |
void | guc_hsep_remove_global_table_listener (GCallback cb) |
const gchar * | guc_http_range_to_string (const GSList *list) |
GSList * | guc_http_range_merge (GSList *old_list, GSList *new_list) |
void | guc_node_add_node_added_listener (node_added_listener_t l) |
void | guc_node_add_node_removed_listener (node_removed_listener_t l) |
void | guc_node_add_node_info_changed_listener (node_info_changed_listener_t l) |
void | guc_node_add_node_flags_changed_listener (node_flags_changed_listener_t l) |
void | guc_node_remove_node_added_listener (node_added_listener_t l) |
void | guc_node_remove_node_removed_listener (node_removed_listener_t l) |
void | guc_node_remove_node_info_changed_listener (node_info_changed_listener_t l) |
void | guc_node_remove_node_flags_changed_listener (node_flags_changed_listener_t l) |
void | guc_node_add (const host_addr_t addr, guint16 port, guint32 flags) |
void | guc_node_remove_by_handle (gnet_node_t n) |
void | guc_node_remove_nodes_by_handle (GSList *node_list) |
void | guc_node_get_status (const gnet_node_t n, gnet_node_status_t *s) |
gnet_node_info_t * | guc_node_get_info (const gnet_node_t n) |
void | guc_node_clear_info (gnet_node_info_t *info) |
void | guc_node_free_info (gnet_node_info_t *info) |
void | guc_node_fill_flags (gnet_node_t n, gnet_node_flags_t *flags) |
void | guc_node_fill_info (const gnet_node_t n, gnet_node_info_t *info) |
void | guc_node_udp_gui_show (void) |
void | guc_node_udp_gui_remove (void) |
gint | guc_get_parq_dl_position (const struct download *d) |
gint | guc_get_parq_dl_queue_length (const struct download *d) |
gint | guc_get_parq_dl_eta (const struct download *d) |
gint | guc_get_parq_dl_retry_delay (const struct download *d) |
void | guc_search_update_items (gnet_search_t sh, guint32 items) |
guint32 | guc_search_get_reissue_timeout (gnet_search_t sh) |
void | guc_search_set_reissue_timeout (gnet_search_t sh, guint32 timeout) |
guint | guc_search_get_lifetime (gnet_search_t sh) |
time_t | guc_search_get_create_time (gnet_search_t sh) |
void | guc_search_set_create_time (gnet_search_t sh, time_t t) |
gboolean | guc_search_is_passive (gnet_search_t sh) |
gboolean | guc_search_is_active (gnet_search_t sh) |
gboolean | guc_search_is_expired (gnet_search_t sh) |
gboolean | guc_search_is_frozen (gnet_search_t sh) |
gnet_search_t | guc_search_new (const gchar *query, time_t create_time, guint lifetime, guint32 reissue_timeout, flag_t flags) |
gboolean | guc_search_browse (gnet_search_t sh, const gchar *hostname, host_addr_t addr, guint16 port, const gchar *guid, gboolean push, const gnet_host_vec_t *proxies) |
void | guc_search_reissue (gnet_search_t sh) |
void | guc_search_close (gnet_search_t sh) |
void | guc_search_start (gnet_search_t sh) |
void | guc_search_stop (gnet_search_t sh) |
const gchar * | guc_settings_home_dir (void) |
const gchar * | guc_settings_config_dir (void) |
void | guc_shared_dir_add (const gchar *path) |
void | guc_share_scan (void) |
guint64 | guc_shared_files_scanned (void) |
guint64 | guc_shared_kbytes_scanned (void) |
void | guc_share_add_search_request_listener (search_request_listener_t l) |
void | guc_share_remove_search_request_listener (search_request_listener_t l) |
void | guc_search_add_kept (gnet_search_t sh, guint32 kept) |
gnet_upload_info_t * | guc_upload_get_info (gnet_upload_t uh) |
void | guc_upload_free_info (gnet_upload_info_t *info) |
void | guc_upload_get_status (gnet_upload_t uh, gnet_upload_status_t *si) |
void | guc_upload_kill (gnet_upload_t upload) |
void | guc_upload_add_upload_added_listener (upload_added_listener_t l) |
void | guc_upload_remove_upload_added_listener (upload_added_listener_t l) |
void | guc_upload_add_upload_removed_listener (upload_removed_listener_t l) |
void | guc_upload_remove_upload_removed_listener (upload_removed_listener_t l) |
void | guc_upload_add_upload_info_changed_listener (upload_info_changed_listener_t l) |
void | guc_upload_remove_upload_info_changed_listener (upload_info_changed_listener_t l) |
void | guc_upload_stats_prune_nonexistent (void) |
void | guc_upload_stats_clear_all (void) |
const gchar * | guc_version_get_version_string (void) |
| version interface functions
|
void | guc_gtk_gnutella_exit (gint code) |
| main functions
|