renamed logWriter.[ch] to safeWrites.[ch]
This commit is contained in:
parent
6f809b00e2
commit
5ba41bb3cb
8 changed files with 13 additions and 10 deletions
|
@ -9,7 +9,8 @@ ADD_LIBRARY(stasis crc32.c redblack.c lhtable.c rw.c doubleLinkedList.c
|
||||||
allocationPolicy.c lockManager.c iterator.c
|
allocationPolicy.c lockManager.c iterator.c
|
||||||
consumer.c arrayCollection.c ringbuffer.c fifo.c
|
consumer.c arrayCollection.c ringbuffer.c fifo.c
|
||||||
multiplexer.c graph.c logger/logEntry.c
|
multiplexer.c graph.c logger/logEntry.c
|
||||||
logger/logWriter.c logger/logWriterUtils.c
|
logger/safeWrites.c logger/logWriterUtils.c
|
||||||
|
logger/filePool.c
|
||||||
logger/inMemoryLog.c
|
logger/inMemoryLog.c
|
||||||
logger/logHandle.c logger/logger2.c
|
logger/logHandle.c logger/logger2.c
|
||||||
logger/logMemory.c page/raw.c page/slotted.c
|
logger/logMemory.c page/raw.c page/slotted.c
|
||||||
|
|
|
@ -6,7 +6,8 @@ libstasis_la_SOURCES=crc32.c redblack.c lhtable.c rw.c doubleLinkedList.c common
|
||||||
transactional2.c allocationPolicy.c \
|
transactional2.c allocationPolicy.c \
|
||||||
lockManager.c iterator.c consumer.c arrayCollection.c ringbuffer.c fifo.c multiplexer.c graph.c\
|
lockManager.c iterator.c consumer.c arrayCollection.c ringbuffer.c fifo.c multiplexer.c graph.c\
|
||||||
logger/logEntry.c \
|
logger/logEntry.c \
|
||||||
logger/logWriterUtils.c logger/logWriter.c \
|
logger/logWriterUtils.c logger/safeWrites.c \
|
||||||
|
logger/filePool.c \
|
||||||
logger/inMemoryLog.c logger/logHandle.c logger/logger2.c \
|
logger/inMemoryLog.c logger/logHandle.c logger/logger2.c \
|
||||||
logger/logMemory.c \
|
logger/logMemory.c \
|
||||||
page/raw.c page/slotted.c page/fixed.c compensations.c \
|
page/raw.c page/slotted.c page/fixed.c compensations.c \
|
||||||
|
|
|
@ -57,7 +57,7 @@ terms specified in this license.
|
||||||
|
|
||||||
#include <stasis/logger/logger2.h>
|
#include <stasis/logger/logger2.h>
|
||||||
|
|
||||||
#include <stasis/logger/logWriter.h>
|
#include <stasis/logger/safeWrites.h>
|
||||||
#include <stasis/logger/inMemoryLog.h>
|
#include <stasis/logger/inMemoryLog.h>
|
||||||
#include <stasis/page.h>
|
#include <stasis/page.h>
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ terms specified in this license.
|
||||||
#include <stasis/common.h>
|
#include <stasis/common.h>
|
||||||
|
|
||||||
#include <stasis/crc32.h>
|
#include <stasis/crc32.h>
|
||||||
#include <stasis/logger/logWriter.h>
|
#include <stasis/logger/safeWrites.h>
|
||||||
#include <stasis/logger/logHandle.h>
|
#include <stasis/logger/logHandle.h>
|
||||||
#include <stasis/latches.h>
|
#include <stasis/latches.h>
|
||||||
#include <stasis/logger/logWriterUtils.h>
|
#include <stasis/logger/logWriterUtils.h>
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include <stasis/logger/logger2.h>
|
#include <stasis/logger/logger2.h>
|
||||||
#include <stasis/logger/logWriter.h>
|
#include <stasis/logger/safeWrites.h>
|
||||||
#include <stasis/logger/inMemoryLog.h>
|
#include <stasis/logger/inMemoryLog.h>
|
||||||
|
|
||||||
#include <stasis/truncation.h>
|
#include <stasis/truncation.h>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef __LOGWRITER_H__
|
#ifndef __STASIS_LOG_SAFE_WRITES_H
|
||||||
#define __LOGWRITER_H__
|
#define __STASIS_LOG_SAFE_WRITES_H
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
This software is copyrighted by the Regents of the University of
|
This software is copyrighted by the Regents of the University of
|
||||||
|
@ -97,4 +97,4 @@ void stasis_log_safe_writes_delete(const char * filename);
|
||||||
|
|
||||||
END_C_DECLS
|
END_C_DECLS
|
||||||
|
|
||||||
#endif /* __LLADD_LOGGER_LOGWRITER_H */
|
#endif
|
|
@ -53,7 +53,7 @@ terms specified in this license.
|
||||||
#include <stasis/transactional.h>
|
#include <stasis/transactional.h>
|
||||||
#include <stasis/logger/logHandle.h>
|
#include <stasis/logger/logHandle.h>
|
||||||
#include <stasis/logger/logger2.h>
|
#include <stasis/logger/logger2.h>
|
||||||
#include <stasis/logger/logWriter.h>
|
#include <stasis/logger/safeWrites.h>
|
||||||
#include <stasis/logger/inMemoryLog.h>
|
#include <stasis/logger/inMemoryLog.h>
|
||||||
|
|
||||||
#include <stasis/latches.h>
|
#include <stasis/latches.h>
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <stasis/logger/logHandle.h>
|
#include <stasis/logger/logHandle.h>
|
||||||
#include <stasis/logger/logWriter.h>
|
#include <stasis/logger/logger2.h>
|
||||||
|
#include <stasis/logger/safeWrites.h>
|
||||||
|
|
||||||
static char * logEntryToString(const LogEntry * le) {
|
static char * logEntryToString(const LogEntry * le) {
|
||||||
char * ret = NULL;
|
char * ret = NULL;
|
||||||
|
|
Loading…
Reference in a new issue