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

gnet_results_set Struct Reference

#include <search.h>


Detailed Description

A results_set structure factorizes the common information from a Query Hit packet, and then has a list of individual records, one for each hit.

A single structure is created for each Query Hit packet we receive, but then it can be dispatched for displaying some of its records to the various searches in presence.


Data Fields

gchar * guid
 Servent's GUID (atom).

host_addr_t addr
guint16 port
guint16 status
 Parsed status bits from trailer.

guint32 speed
time_t stamp
 Reception time of the hit.

vendor_code vcode
 Vendor code.

gchar * version
 Version information (atom).

gint country
 Country code -- encoded ISO3166.

flag_t flags
gnet_host_vec_tproxies
 Optional: known push proxies.

gchar * hostname
 Optional: server's hostname.

host_addr_t udp_addr
 IP of delivering node, if hit from UDP.

host_addr_t last_hop
 IP of delivering node.

GSList * records
guint32 num_recs


Field Documentation

host_addr_t gnet_results_set::addr
 

gint gnet_results_set::country
 

Country code -- encoded ISO3166.

flag_t gnet_results_set::flags
 

gchar* gnet_results_set::guid
 

Servent's GUID (atom).

gchar* gnet_results_set::hostname
 

Optional: server's hostname.

host_addr_t gnet_results_set::last_hop
 

IP of delivering node.

guint32 gnet_results_set::num_recs
 

guint16 gnet_results_set::port
 

gnet_host_vec_t* gnet_results_set::proxies
 

Optional: known push proxies.

GSList* gnet_results_set::records
 

guint32 gnet_results_set::speed
 

time_t gnet_results_set::stamp
 

Reception time of the hit.

guint16 gnet_results_set::status
 

Parsed status bits from trailer.

host_addr_t gnet_results_set::udp_addr
 

IP of delivering node, if hit from UDP.

union vendor_code gnet_results_set::vcode
 

Vendor code.

gchar* gnet_results_set::version
 

Version information (atom).


The documentation for this struct was generated from the following file:
Generated on Sun Feb 12 10:50:12 2006 for Gtk-Gnutella by doxygen 1.3.6