Main Page | Modules | Alphabetical List | Data Structures | Directories | 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.
const gchar * query
 The normalized search query (atom).
const gchar * name
 The original search term (atom).
time_t time
 Time when this search was started.
GSList * muids
 Message UIDs of this search.
sbool passive
 Is this a passive search?
sbool frozen
 NOTE: If TRUE, the query is not issued to nodes anymore and "don't update window".
sbool browse
 Special "browse host" search.
sbool local
 Special "local" search.
sbool 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.
downloaddownload
 Associated download for browse-host.


Field Documentation

sbool search_ctrl::active
 

Whether to actively issue queries.

sbool search_ctrl::browse
 

Special "browse host" search.

time_t search_ctrl::create_time
 

Time at which this search was created.

struct download* search_ctrl::download
 

Associated download for browse-host.

sbool search_ctrl::frozen
 

NOTE: 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).

sbool search_ctrl::local
 

Special "local" search.

GSList* search_ctrl::muids
 

Message UIDs of this search.

const gchar* search_ctrl::name
 

The original search term (atom).

GHook* search_ctrl::new_node_hook
 

sbool search_ctrl::passive
 

Is this a passive search?

const gchar* search_ctrl::query
 

The normalized search query (atom).

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 Sat Jun 30 17:53:34 2007 for gtk-gnutella by  doxygen 1.3.9.1