stasis-aries-wal/src/lladd/logger/inMemoryLog.h

17 lines
478 B
C
Raw Normal View History

2006-04-12 01:40:47 +00:00
#include <lladd/logger/logger2.h>
#ifndef __INMEMORYLOG
#define __INMEMORYLOG 1
int open_InMemoryLog();
int writeLogEntry_InMemoryLog(LogEntry * e);
lsn_t flushedLSN_InMemoryLog();
void syncLog_InMemoryLog();
2006-04-12 01:40:47 +00:00
int truncateLog_InMemoryLog(lsn_t lsn);
lsn_t firstLogEntry_InMemoryLog();
void close_InMemoryLog();
long sizeofInternalLogEntry_InMemoryLog(const LogEntry * e);
LogEntry * readLSNEntry_InMemoryLog(lsn_t lsn);
lsn_t nextEntry_InMemoryLog(const LogEntry * e);
2006-04-12 01:40:47 +00:00
#endif