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

nodes_common.h File Reference

#include "gui.h"
#include "if/core/nodes.h"

Go to the source code of this file.

Functions

void nodes_gui_common_init (void)
void nodes_gui_common_shutdown (void)
const gchar * nodes_gui_common_status_str (const gnet_node_status_t *n)
 Compute info string for node.

const gchar * nodes_gui_common_flags_str (const gnet_node_flags_t *flags)
 Display a summary of the node flags.

void nodes_gui_common_connect_by_name (const gchar *addr)
 Try to connect to the node given by the addr string in the form [ip]:[port].


Function Documentation

void nodes_gui_common_connect_by_name const gchar *  line  ) 
 

Try to connect to the node given by the addr string in the form [ip]:[port].

Port may be omitted.

const gchar* nodes_gui_common_flags_str const gnet_node_flags_t flags  ) 
 

Display a summary of the node flags.

The stuff in the Flags column means:

  • 012345678AB (offset)
  • NIrwqxZPFhE
  • ^^^^^^^^^^^
  • ||||||||||+ E indicates a TLS encrypted connection
  • |||||||||+ hops flow triggerd (h), or total query flow control (f)
  • ||||||||+ flow control (F), or pending data in queue (d)
  • |||||||+ indicates whether we're a push proxy (P) / node is proxy (p)
  • ||||||+ indicates whether RX, TX or both (Z) are compressed
  • |||||+ indicates whether we sent our last-hop QRT to remote UP
  • ||||+ indicates whether we sent/received a QRT, or send/receive one
  • |||+ indicates whether node is writable
  • ||+ indicates whether node is readable
  • |+ indicates connection type (Incoming, Outgoing, Ponging)
  • + indicates peer mode (Normal, Ultra, Leaf)

void nodes_gui_common_init void   ) 
 

void nodes_gui_common_shutdown void   ) 
 

const gchar* nodes_gui_common_status_str const gnet_node_status_t n  ) 
 

Compute info string for node.

Returns:
pointer to static data.


Generated on Sun Feb 12 10:50:05 2006 for Gtk-Gnutella by doxygen 1.3.6