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

hostiles.h File Reference


Detailed Description

Support for the hostiles.txt of BearShare.

Author:
Markus Goetz

Raphael Manfredi

Date:
2003

#include "common.h"
#include "lib/host_addr.h"

Go to the source code of this file.

Functions

gboolean hostiles_check (const host_addr_t addr)
 Check the given address against the entries in the hostiles.

void hostiles_init (void)
 Called on startup.

void hostiles_close (void)
 Frees all entries in all the hostiles.


Function Documentation

gboolean hostiles_check const host_addr_t  ha  ) 
 

Check the given address against the entries in the hostiles.

Parameters:
ha the host address to check.
Returns:
TRUE if found, and FALSE if not.

void hostiles_close void   ) 
 

Frees all entries in all the hostiles.

void hostiles_init void   ) 
 

Called on startup.

Loads the hostiles.txt into memory.


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