|
Data Structures |
| struct | node_data |
Defines |
| #define | UPDATE_MIN 300 |
| | Update screen every 5 minutes at least.
|
| #define | DO_FREEZE FALSE |
Functions |
| void | nodes_gui_node_removed (const node_id_t) |
| void | nodes_gui_node_added (const node_id_t) |
| void | nodes_gui_node_info_changed (const node_id_t) |
| void | nodes_gui_node_flags_changed (const node_id_t) |
| gboolean | remove_item (GHashTable *ht, const node_id_t node_id) |
| void | add_column (GtkTreeView *tree, const gchar *title, GtkTreeCellDataFunc cell_data_func, gpointer udata) |
| | Create a column, associating the attribute ``attr'' (usually "text") of the cell_renderer to the first column of the model.
|
| void | node_data_free (gpointer value) |
| gboolean | free_node_id (gpointer key, gpointer value, gpointer unused_udata) |
| gboolean | free_node_data (gpointer unused_key, gpointer value, gpointer unused_udata) |
| GtkListStore * | create_nodes_model (void) |
| void | cell_renderer_func (GtkTreeViewColumn *column, GtkCellRenderer *cell, GtkTreeModel *model, GtkTreeIter *iter, gpointer udata) |
| void | nodes_gui_create_treeview_nodes (void) |
| | Sets up the treeview_nodes object for use by settings_gui.
|
| void | nodes_gui_remove_selected_helper (GtkTreeModel *model, GtkTreePath *unused_path, GtkTreeIter *iter, gpointer list_ptr) |
| node_data * | find_node (const node_id_t node_id) |
| | Fetches the node_data that holds the data about the given node and knows the GtkTreeIter.
|
| void | nodes_gui_update_node_info (struct node_data *data, gnet_node_info_t *info) |
| | Updates vendor, version and info column.
|
| void | nodes_gui_update_node_flags (struct node_data *data, gnet_node_flags_t *flags) |
| void | update_tooltip (GtkTreeView *tv, GtkTreePath *path) |
| gboolean | on_leave_notify (GtkWidget *widget, GdkEventCrossing *unused_event, gpointer unused_udata) |
| void | host_lookup_callback (const gchar *hostname, gpointer key) |
| void | on_cursor_changed (GtkTreeView *tv, gpointer unused_udata) |
| void | nodes_gui_early_init (void) |
| | Initialized the widgets.
|
| void | nodes_gui_init (void) |
| | Initialize the nodes controller.
|
| void | nodes_gui_shutdown (void) |
| | Unregister callbacks in the backend and clean up.
|
| void | nodes_gui_remove_node (const node_id_t node_id) |
| | Removes all references to the given node handle in the gui.
|
| void | nodes_gui_add_node (gnet_node_info_t *info) |
| | Adds the given node to the gui.
|
| void | update_row (gpointer key, gpointer value, gpointer user_data) |
| void | nodes_gui_update_nodes_display (time_t now) |
| | Update all the nodes at the same time.
|
| void | nodes_gui_node_removed (const node_id_t node_id) |
| | Callback: called when a node is removed from the backend.
|
| void | nodes_gui_node_added (const node_id_t node_id) |
| | Callback: called when a node is added from the backend.
|
| void | nodes_gui_node_info_changed (const node_id_t node_id) |
| | Callback: called when node information was changed by the backend.
|
| void | nodes_gui_node_flags_changed (const node_id_t node_id) |
| | Callback invoked when the node's user-visible flags are changed.
|
| void | nodes_gui_remove_selected (void) |
| | Removes all selected nodes from the treeview and disconnects them.
|
| void | nodes_gui_reverse_lookup_selected_helper (GtkTreeModel *model, GtkTreePath *unused_path, GtkTreeIter *iter, gpointer unused_data) |
| void | nodes_gui_reverse_lookup_selected (void) |
| | Performs a reverse lookup for all selected nodes.
|
| void | nodes_gui_browse_selected_helper (GtkTreeModel *model, GtkTreePath *unused_path, GtkTreeIter *iter, gpointer unused_data) |
| void | nodes_gui_browse_selected (void) |
Variables |
| GHashTable * | ht_node_info_changed |
| GHashTable * | ht_node_flags_changed |
| GtkTreeView * | treeview_nodes |
| GtkListStore * | nodes_model |
| GHashTable * | nodes_handles |
| GHashTable * | ht_pending_lookups |
| tree_view_motion_t * | tvm_nodes |