adt/common.h

00001 #ifndef BGLIBS__ADT__COMMON__H__
00002 #define BGLIBS__ADT__COMMON__H__
00003 
00010 typedef unsigned long adt_hash_t;
00012 typedef void adt_free_fn(void*);
00016 typedef int adt_copy_fn(void*, const void*);
00020 typedef int adt_cmp_fn(const void*, const void*);
00022 typedef adt_hash_t adt_hash_fn(const void*);
00023 
00025 adt_hash_t adt_hashb(const unsigned char*, unsigned long);
00026 
00028 adt_hash_t adt_hashs(const unsigned char*);
00029 
00031 adt_hash_t adt_hashsp(const char* const*);
00033 int adt_cmpsp(const char* const* a, const char* const* b);
00035 int adt_copysp(const char** a, const char* const* b);
00037 void adt_freesp(const char** a);
00038 
00041 #endif

Generated on Thu Feb 19 11:11:50 2009 for bglibs by  doxygen 1.5.4