adt_common.h
#ifndef BGLIBS__ADT__COMMON__H__
#define BGLIBS__ADT__COMMON__H__
typedef unsigned long adt_hash_t;
typedef void adt_free_fn(void*);
typedef int adt_copy_fn(void*, const void*);
typedef int adt_cmp_fn(const void*, const void*);
typedef adt_hash_t adt_hash_fn(const void*);
adt_hash_t adt_hashb(const unsigned char*, unsigned long);
adt_hash_t adt_hashs(const unsigned char*);
adt_hash_t adt_hashsp(const char* const*);
int adt_cmpsp(const char* const* a, const char* const* b);
int adt_copysp(const char** a, const char* const* b);
void adt_freesp(const char** a);
#endif
adt_cmp_fn
int adt_cmp_fn(const void *, const void *)
Definition adt_common.h:20
adt_freesp
void adt_freesp(const char **a)
Definition adt_sp.c:21
adt_copysp
int adt_copysp(const char **a, const char *const *b)
Definition adt_sp.c:11
adt_hashsp
adt_hash_t adt_hashsp(const char *const *)
Definition adt_sp.c:16
adt_cmpsp
int adt_cmpsp(const char *const *a, const char *const *b)
Definition adt_sp.c:6
adt_free_fn
void adt_free_fn(void *)
Definition adt_common.h:12
adt_hashs
adt_hash_t adt_hashs(const unsigned char *)
Definition hashs.c:6
adt_copy_fn
int adt_copy_fn(void *, const void *)
Definition adt_common.h:16
adt_hash_t
unsigned long adt_hash_t
Definition adt_common.h:10
adt_hash_fn
adt_hash_t adt_hash_fn(const void *)
Definition adt_common.h:22
adt_hashb
adt_hash_t adt_hashb(const unsigned char *, unsigned long)
Definition hashb.c:6