store.cpp File Reference

#include "store.h"
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <assert.h>

Go to the source code of this file.

Defines

#define BLOCK_SIZE   512
#define BLOCK_POINTER_SIZE   sizeof(portable_off_t)
#define ASSERTS_ENABLED
#define STORE_ASSERT(x)   assert(x)


Define Documentation

#define ASSERTS_ENABLED

Definition at line 33 of file store.cpp.

#define BLOCK_POINTER_SIZE   sizeof(portable_off_t)

Definition at line 30 of file store.cpp.

Referenced by Store::read(), Store::release(), and Store::write().

#define BLOCK_SIZE   512

Definition at line 29 of file store.cpp.

Referenced by Store::alloc(), Store::end(), Store::open(), Store::printStats(), Store::read(), Store::release(), Store::seek(), and Store::write().

#define STORE_ASSERT (  )     assert(x)

Definition at line 36 of file store.cpp.

Referenced by Store::alloc(), Store::end(), Store::open(), Store::read(), Store::release(), Store::seek(), and Store::write().



Generated on Mon Mar 31 10:58:54 2008 by  doxygen 1.5.1