stasis-aries-wal/src/stasis/page/segment.c

44 lines
625 B
C
Raw Normal View History

2009-07-09 21:09:36 +00:00
/*
* segment.c
*
* Created on: Jul 9, 2009
* Author: sears
*/
#include <stasis/page.h>
static int notSupported(int xid, Page * p) { return 0; }
page_impl segmentImpl() {
static page_impl pi = {
SEGMENT_PAGE,
0, // has header
2009-07-09 21:09:36 +00:00
0,
0,
0,// readDone
0,// writeDone
0,
0,
0,
0,
0,
2009-07-29 21:03:16 +00:00
0,
2009-07-09 21:09:36 +00:00
notSupported, // is block supported
stasis_block_first_default_impl,
stasis_block_next_default_impl,
stasis_block_done_default_impl,
0,
0,
0,
0,
0,
0, //XXX page_impl_dereference_identity,
0,
0,
2009-07-29 21:03:16 +00:00
0,
0,
2009-07-09 21:09:36 +00:00
0
};
return pi;
}