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

query_context Struct Reference


Detailed Description

A query context.

We don't want to include the same file several times in a reply (for example, once because it matches an URN query and once because the file name matches). So we keep track of what has been added in `found_indices'. The file index is used as the key.


Data Fields

GHashTable * found_indices
GSList * files
 List of shared_file_t that match.

gint found


Field Documentation

GSList* query_context::files
 

List of shared_file_t that match.

gint query_context::found
 

GHashTable* query_context::found_indices
 


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