Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

nodes_common.c File Reference


Detailed Description

Common GUI functions for displaying node information.

Author:
Raphael Manfredi

Richard Eckart

Date:
2001-2003

#include "gui.h"
#include "nodes_common.h"
#include "settings.h"
#include "gtk/statusbar.h"
#include "if/bridge/ui2c.h"
#include "if/core/nodes.h"
#include "if/core/sockets.h"
#include "if/gui_property_priv.h"
#include "lib/glib-missing.h"
#include "lib/misc.h"
#include "lib/walloc.h"
#include "lib/override.h"

Data Structures

struct  add_node_context

Functions

const gchar * nodes_gui_common_status_str (const gnet_node_status_t *n)
 Compute info string for node.
void add_node_helper (const host_addr_t *addrs, size_t n, gpointer data)
void nodes_gui_common_connect_by_name (const gchar *line)
 Try to connect to the list of nodes given by in following form:.

Variables

gchar gui_tmp [4096]


Function Documentation

void add_node_helper const host_addr_t addrs,
size_t  n,
gpointer  data
[static]
 

void nodes_gui_common_connect_by_name const gchar *  line  ) 
 

Try to connect to the list of nodes given by in following form:.

list = <node> | <node>, 1*<node> port = 1..65535 hostname = 1*[a-zA-Z0-9.-] node = hostname [":" <port>] | <ipv4 address="">[":" <port>] | <ipv6 address=""> | "[" <ipv6 address=""> "]:" <port> peer = ["tls:"]<node>

If the port is omitted, the default port (GTA_PORT: 6346) is used. The case-insensitive prefix "tls:" requests a TLS (encrypted) connection.

const gchar* nodes_gui_common_status_str const gnet_node_status_t n  ) 
 

Compute info string for node.

Returns:
pointer to static data.


Variable Documentation

gchar gui_tmp[4096] [static]
 


Generated on Sat Jun 30 17:53:29 2007 for gtk-gnutella by  doxygen 1.3.9.1