Main Page | Modules | Alphabetical List | Data Structures | Directories | 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 "common.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 secure_oob, gboolean 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, const gchar *muid, guint8 wanted, const struct array *token)
 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,
const gchar *  muid,
guint8  wanted,
const struct array token
 

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
token the token for secure OOB

The sender's IP address can of course change any time as dynamic IP addresses are very common. The sender might also have multiple network interfaces.

void oob_got_results struct gnutella_node n,
GSList *  files,
gint  count,
gboolean  secure,
gboolean  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
secure whether secure OOB was requested
ggep_h whether GGEP H is understood

void oob_init void   ) 
 

Initialize out-of-band query hit delivery.

void oob_shutdown void   ) 
 

Cleanup at shutdown time.


Generated on Sat Jun 30 17:53:29 2007 for gtk-gnutella by  doxygen 1.3.9.1