cdb-internal.h (489B)
1 /* ISC license. */ 2 3 #ifndef SKALIBS_CDB_INTERNAL_H 4 #define SKALIBS_CDB_INTERNAL_H 5 6 #include <stdint.h> 7 #include <sys/uio.h> 8 9 #include <skalibs/gccattributes.h> 10 #include <skalibs/cdb.h> 11 12 #define CDB_HASHSTART 5381 13 14 extern uint32_t cdb_hashadd (uint32_t, uint8_t) ; 15 extern uint32_t cdb_hash (char const *, uint32_t) gccattr_pure ; 16 extern uint32_t cdb_hashv (struct iovec const *, unsigned int) gccattr_pure ; 17 extern char const *cdb_p (cdb const *, uint32_t, uint32_t) gccattr_pure ; 18 19 #endif