20 lines
310 B
C
20 lines
310 B
C
#ifndef CDB_H
|
|
#define CDB_H
|
|
|
|
#include <stdio.h>
|
|
#include "config.h"
|
|
#if SIZEOF_INT==4
|
|
typedef unsigned int uint32 ;
|
|
#elif SIZEOF_LONG==4
|
|
typedef unsigned long uint32 ;
|
|
#else
|
|
#error "No uint32"
|
|
#endif
|
|
extern uint32 cdb_hash();
|
|
extern uint32 cdb_unpack();
|
|
|
|
extern int cdb_bread();
|
|
extern int cdb_seek();
|
|
|
|
#endif
|