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

search_ctrl Struct Reference


Detailed Description

Structure for search results.


Data Fields

gnet_search_t search_handle
 Search handle.

guint32 id
 Unique ID.

gchar * query
 The search query.

time_t time
 Time when this search was started.

GSList * muids
 Message UIDs of this search.

gboolean passive
 Is this a passive search?

gboolean frozen
 XXX: If TRUE, the query is not issued to nodes anymore and "don't update window".

gboolean browse
 Special "browse host" search.

gboolean active
 Whether to actively issue queries.

GHashTable * sent_nodes
 Sent node by ip:port.

GHashTable * sent_node_ids
 IDs of nodes to which we sent query.

GHook * new_node_hook
guint reissue_timeout_id
guint reissue_timeout
 timeout per search, 0 = search stopped

time_t create_time
 Time at which this search was created.

guint lifetime
 Initial lifetime (in hours).

guint query_emitted
 # of queries emitted since last retry

guint32 items
 Items displayed in the GUI.

guint32 kept_results
 Results we kept for last query.

gpointer download
 Associated download for browse-host.


Field Documentation

gboolean search_ctrl::active
 

Whether to actively issue queries.

gboolean search_ctrl::browse
 

Special "browse host" search.

time_t search_ctrl::create_time
 

Time at which this search was created.

gpointer search_ctrl::download
 

Associated download for browse-host.

gboolean search_ctrl::frozen
 

XXX: If TRUE, the query is not issued to nodes anymore and "don't update window".

guint32 search_ctrl::id
 

Unique ID.

guint32 search_ctrl::items
 

Items displayed in the GUI.

guint32 search_ctrl::kept_results
 

Results we kept for last query.

guint search_ctrl::lifetime
 

Initial lifetime (in hours).

GSList* search_ctrl::muids
 

Message UIDs of this search.

GHook* search_ctrl::new_node_hook
 

gboolean search_ctrl::passive
 

Is this a passive search?

gchar* search_ctrl::query
 

The search query.

guint search_ctrl::query_emitted
 

# of queries emitted since last retry

guint search_ctrl::reissue_timeout
 

timeout per search, 0 = search stopped

guint search_ctrl::reissue_timeout_id
 

gnet_search_t search_ctrl::search_handle
 

Search handle.

GHashTable* search_ctrl::sent_node_ids
 

IDs of nodes to which we sent query.

GHashTable* search_ctrl::sent_nodes
 

Sent node by ip:port.

time_t search_ctrl::time
 

Time when this search was started.


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