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

oob.h File Reference


Detailed Description

Out-of-band query hit management.

Author:
Raphael Manfredi
Date:
2004

#include <glib.h>

Go to the source code of this file.

Functions

void oob_init (void)
 Initialize out-of-band query hit delivery.

void oob_shutdown (void)
 Cleanup at shutdown time.

void oob_close (void)
 Final cleanup.

void oob_got_results (struct gnutella_node *n, GSList *files, gint count, gboolean use_ggep_h)
 Notification that we got matches for a query from some node that needs to be replied to using out-of-band delivery.

void oob_deliver_hits (struct gnutella_node *n, gchar *muid, guint8 wanted)
 The remote host acknowledges that we have some hits for it and wishes to get the specified amount.


Function Documentation

void oob_close void   ) 
 

Final cleanup.

void oob_deliver_hits struct gnutella_node n,
gchar *  muid,
guint8  wanted
 

The remote host acknowledges that we have some hits for it and wishes to get the specified amount.

Parameters:
n where we got the message from
muid the query identifier
wanted the amount of results they want delivered

void oob_got_results struct gnutella_node n,
GSList *  files,
gint  count,
gboolean  use_ggep_h
 

Notification that we got matches for a query from some node that needs to be replied to using out-of-band delivery.

Parameters:
n the node from which we got the query
files the list of shared_file_t entries that make up results
count the amount of results
use_ggep_h whether GGEP "H" can be used to send the SHA1 of files

void oob_init void   ) 
 

Initialize out-of-band query hit delivery.

void oob_shutdown void   ) 
 

Cleanup at shutdown time.


Generated on Sun Feb 12 10:50:05 2006 for Gtk-Gnutella by doxygen 1.3.6