stasis-aries-wal/lladd/operations/alloc.h
2004-07-06 20:59:36 +00:00

29 lines
537 B
C

#include <lladd/operations.h>
#ifndef __ALLOC_H
#define __ALLOC_H
/**
@file
@ingroup OPERATIONS
$Id$
*/
Operation getAlloc();
Operation getDealloc();
/**
Allocate a record.
@param The transaction responsible for the allocation @param The
size of the new record to be allocated. (Talloc may allocate a
blob if the record will not easily fit on a page.)
*/
recordid Talloc(int xid, long size);
/** @todo Currently, we just leak store space on dealloc. */
void Tdealloc(int xid, recordid rid);
#endif