diff options
Diffstat (limited to 'src/libstddjb/cdb-internal.h')
-rw-r--r-- | src/libstddjb/cdb-internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstddjb/cdb-internal.h b/src/libstddjb/cdb-internal.h index 0db5a5d..d2b7324 100644 --- a/src/libstddjb/cdb-internal.h +++ b/src/libstddjb/cdb-internal.h @@ -4,11 +4,16 @@ #define SKALIBS_CDB_INTERNAL_H #include <stdint.h> +#include <sys/uio.h> #include <skalibs/gccattributes.h> #include <skalibs/cdb.h> +#define CDB_HASHSTART 5381 + +extern uint32_t cdb_hashadd (uint32_t, uint8_t) ; extern uint32_t cdb_hash (char const *, uint32_t) gccattr_pure ; +extern uint32_t cdb_hashv (struct iovec const *, unsigned int) gccattr_pure ; extern char const *cdb_p (cdb const *, uint32_t, uint32_t) gccattr_pure ; #endif |