30 lines
700 B
C
30 lines
700 B
C
|
#include <lladd/operations.h>
|
||
|
|
||
|
#ifndef __NAIVE_LINEAR_HASH_H
|
||
|
#define __NAIVE_LINEAR_HASH_H
|
||
|
|
||
|
/**
|
||
|
@file
|
||
|
|
||
|
@ingroup OPERATIONS
|
||
|
|
||
|
$Id$
|
||
|
*/
|
||
|
|
||
|
|
||
|
|
||
|
recordid ThashAlloc(int xid, int keySize, int valSize) ;
|
||
|
|
||
|
void ThashInsert(int xid, recordid hashRid,
|
||
|
void * key, int keySize,
|
||
|
void * val, int valSize);
|
||
|
void ThashDelete(int xid, recordid hashRid,
|
||
|
void * key, int keySize);
|
||
|
void ThashUpdate(int xid, recordid hashRid, void * key, int keySize, void * val, int valSize);
|
||
|
int ThashLookup(int xid, recordid hashRid, void * key, int keySize, void * buf, int valSize);
|
||
|
void ThashInit();
|
||
|
void ThashDeinit();
|
||
|
int ThashOpen(int xid, recordid hashRid);
|
||
|
int ThashClose(int xid, recordid hashRid) ;
|
||
|
#endif
|