#include <search_common.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. Each time the structure is dispatched, the `refcount' is incremented, so that we don't free it and its content until it has been "forgotten" that many times.
Data Fields | |
| results_set_magic_t | magic |
| gint | num_recs |
| const gchar * | guid |
| Servent's GUID (atom). | |
| const gchar * | version |
| Version information (atom). | |
| const gchar * | hostname |
| Optional: server's hostname (atom). | |
| const gchar * | query |
| Optional: original query (atom). | |
| GSList * | records |
| GSList * | schl |
| gnet_host_vec_t * | proxies |
| Optional: known push proxies. | |
| host_addr_t | addr |
| host_addr_t | last_hop |
| IP of delivering node. | |
| time_t | stamp |
| Reception time of the hit. | |
| vendor_code_t | vcode |
| Vendor code. | |
| guint32 | status |
| Parsed status bits from trailer. | |
| guint16 | country |
| Country code -- encoded ISO3166. | |
| guint16 | port |
| guint16 | speed |
| guint8 | hops |
| guint8 | ttl |
|
|
|
|
|
Country code -- encoded ISO3166.
|
|
|
Servent's GUID (atom).
|
|
|
|
|
|
Optional: server's hostname (atom).
|
|
|
IP of delivering node.
|
|
|
|
|
|
|
|
|
|
|
|
Optional: known push proxies.
|
|
|
Optional: original query (atom).
|
|
|
|
|
|
|
|
|
|
|
|
Reception time of the hit.
|
|
|
Parsed status bits from trailer.
|
|
|
|
|
|
Vendor code.
|
|
|
Version information (atom).
|
1.3.9.1