a7499cb43e7b42959ca5eff9170d1f0f08e28361
[idzebra-moved-to-github.git] / isam / rootblk.h
1 /*
2  * Copyright (C) 1994, Index Data I/S 
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: rootblk.h,v $
7  * Revision 1.1  1994-09-26 16:08:00  quinn
8  * Most of the functionality in place.
9  *
10  */
11
12 #ifndef ROOTBLK_H
13 #define ROOTBLK_H
14
15 #include <isam.h>
16
17 typedef struct is_type_header
18 {
19     int blocksize;                /* for sanity-checking */
20     int keysize;                  /*   -do-  */
21     int freelist;                 /* first free block */
22     int top;                      /* first unused block */
23 } is_type_header;
24
25
26
27 int is_rb_write(isam_blocktype *ib, is_type_header *hd);
28 int is_rb_read(isam_blocktype *ib, is_type_header *hd);
29
30 #endif