stasis-aries-wal/lladd/operations/alloc.h

30 lines
537 B
C
Raw Normal View History

2004-06-24 21:10:31 +00:00
#include <lladd/operations.h>
#ifndef __ALLOC_H
#define __ALLOC_H
2004-07-06 20:59:36 +00:00
/**
@file
@ingroup OPERATIONS
$Id$
*/
2004-06-24 21:10:31 +00:00
Operation getAlloc();
Operation getDealloc();
2004-07-06 20:59:36 +00:00
/**
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);
2004-07-06 20:59:36 +00:00
/** @todo Currently, we just leak store space on dealloc. */
2004-06-24 21:10:31 +00:00
void Tdealloc(int xid, recordid rid);
#endif