stasis-aries-wal/blast/lladd-blast.h

24 lines
362 B
C
Raw Permalink Normal View History

2005-05-01 01:17:59 +00:00
typedef unsigned char byte;
typedef struct rwl_s rwl;
/* This is from page.h */
struct Page_s {
int id;
long LSN;
byte *memAddr;
byte dirty;
struct Page_s *next;
struct Page_s *prev;
int queue;
int inCache;
rwl * rwlatch;
rwl * loadlatch;
};
typedef struct Page_s Page;
Page * loadPage(int xid, long page);
void releasePage(Page * p);