X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=isam%2Frootblk.h;fp=isam%2Frootblk.h;h=a7499cb43e7b42959ca5eff9170d1f0f08e28361;hb=c6c40893444f2288cdea91d30dd92df0f285e67d;hp=0000000000000000000000000000000000000000;hpb=769e5c9b42bf87531296013fac0af819af9228ee;p=idzebra-moved-to-github.git diff --git a/isam/rootblk.h b/isam/rootblk.h new file mode 100644 index 0000000..a7499cb --- /dev/null +++ b/isam/rootblk.h @@ -0,0 +1,30 @@ +/* + * Copyright (C) 1994, Index Data I/S + * All rights reserved. + * Sebastian Hammer, Adam Dickmeiss + * + * $Log: rootblk.h,v $ + * Revision 1.1 1994-09-26 16:08:00 quinn + * Most of the functionality in place. + * + */ + +#ifndef ROOTBLK_H +#define ROOTBLK_H + +#include + +typedef struct is_type_header +{ + int blocksize; /* for sanity-checking */ + int keysize; /* -do- */ + int freelist; /* first free block */ + int top; /* first unused block */ +} is_type_header; + + + +int is_rb_write(isam_blocktype *ib, is_type_header *hd); +int is_rb_read(isam_blocktype *ib, is_type_header *hd); + +#endif