16 lines
479 B
C
16 lines
479 B
C
#include <stasis/logger/logger2.h>
|
|
|
|
#ifndef __INMEMORYLOG
|
|
#define __INMEMORYLOG 1
|
|
|
|
int open_InMemoryLog();
|
|
int writeLogEntry_InMemoryLog(LogEntry * e);
|
|
lsn_t flushedLSN_InMemoryLog();
|
|
void syncLog_InMemoryLog();
|
|
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);
|
|
#endif
|