31 lines
815 B
C
31 lines
815 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);*/
|
|
int ThashDelete(int xid, recordid hashRid,
|
|
void * key, int keySize, int valSize);
|
|
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 keySize, int valSize);
|
|
int ThashClose(int xid, recordid hashRid) ;
|
|
#endif
|