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

dh.h File Reference


Detailed Description

Dynamic hits.

Author:
Raphael Manfredi
Date:
2004

#include "common.h"

Go to the source code of this file.

Functions

void dh_init (void)
 Initialize dynamic hits.

void dh_close (void)
 Cleanup data structures used by dynamic querying.

void dh_got_results (const gchar *muid, gint count)
 Called every time we successfully parsed a query hit from the network.

void dh_timer (time_t now)
 Periodic heartbeat, to rotate the hash tables every half-life period.

void dh_route (struct gnutella_node *src, struct gnutella_node *dest, gint count)
gboolean dh_would_route (const gchar *muid, struct gnutella_node *dest)


Function Documentation

void dh_close (  void   ) 
 

Cleanup data structures used by dynamic querying.

void dh_got_results (  const gchar *  muid,
gint  count
) 
 

Called every time we successfully parsed a query hit from the network.

void dh_init (  void   ) 
 

Initialize dynamic hits.

void dh_route (  struct gnutella_node *  src,
struct gnutella_node *  dest,
gint  count
) 
 

void dh_timer (  time_t  now  ) 
 

Periodic heartbeat, to rotate the hash tables every half-life period.

gboolean dh_would_route (  const gchar *  muid,
struct gnutella_node *  dest
) 
 


Generated on Sun Feb 12 10:49:59 2006 for Gtk-Gnutella by doxygen 1.3.6