#include <search.h>
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 | |
| host_addr_t | addr |
| host_addr_t | last_hop |
| IP of delivering node. | |
| const gchar * | guid |
| Servent's GUID (atom). | |
| const gchar * | hostname |
| Optional: server's hostname. | |
| const gchar * | version |
| Version information (atom). | |
| const gchar * | query |
| Optional: Original query string (atom). | |
| gnet_host_vec_t * | proxies |
| Optional: known push proxies. | |
| GSList * | records |
| time_t | stamp |
| Reception time of the hit. | |
| vendor_code_t | vcode |
| Vendor code. | |
| guint32 | speed |
| guint32 | num_recs |
| guint32 | status |
| Parsed status bits from trailer. | |
| flag_t | flags |
| guint16 | port |
| guint16 | country |
| Country code -- encoded ISO3166. | |
| guint8 | hops |
| guint8 | ttl |
|
|
|
|
|
Country code -- encoded ISO3166.
|
|
|
|
|
|
Servent's GUID (atom).
|
|
|
|
|
|
Optional: server's hostname.
|
|
|
IP of delivering node.
|
|
|
|
|
|
|
|
|
Optional: known push proxies.
|
|
|
Optional: Original query string (atom).
|
|
|
|
|
|
|
|
|
Reception time of the hit.
|
|
|
Parsed status bits from trailer.
|
|
|
|
|
|
Vendor code.
|
|
|
Version information (atom).
|
1.3.9.1