|
Data Structures |
struct | gnet_node_status |
struct | gnet_node_info |
struct | gnet_node_flags |
Defines |
#define | GTA_NORMAL_TTL 4 /**< Regular TTL, for hops-flow */ |
| Regular TTL, for hops-flow.
|
#define | node_add_listener(signal, callback) CAT3(node_add_,signal,_listener)(callback); |
#define | node_remove_listener(signal, callback) CAT3(node_remove_,signal,_listener)(callback); |
Typedefs |
typedef guint32 | gnet_node_t |
| Gnet node specific types.
|
typedef gnet_node_status | gnet_node_status_t |
typedef gnet_node_info | gnet_node_info_t |
typedef gnet_node_flags | gnet_node_flags_t |
typedef void(* | node_added_listener_t )(gnet_node_t) |
typedef void(* | node_removed_listener_t )(gnet_node_t) |
typedef void(* | node_info_changed_listener_t )(gnet_node_t) |
typedef void(* | node_flags_changed_listener_t )(gnet_node_t) |
Enumerations |
enum | node_peer_t {
NODE_P_LEAF = 0,
NODE_P_AUTO,
NODE_P_ULTRA,
NODE_P_NORMAL,
NODE_P_CRAWLER,
NODE_P_UDP,
NODE_P_UNKNOWN
} |
enum | qrt_state_t {
QRT_S_NONE = 0,
QRT_S_SENDING,
QRT_S_SENT,
QRT_S_RECEIVING,
QRT_S_PATCHING,
QRT_S_RECEIVED
} |
enum | gnet_node_state_t {
GTA_NODE_CONNECTING = 1,
GTA_NODE_HELLO_SENT = 2,
GTA_NODE_WELCOME_SENT = 3,
GTA_NODE_CONNECTED = 4,
GTA_NODE_REMOVING = 5,
GTA_NODE_RECEIVING_HELLO = 6,
GTA_NODE_SHUTDOWN = 7
} |