C++ compilation.
[idzebra-moved-to-github.git] / isam / rootblk.h
1 /*
2  * Copyright (C) 1994-1999, Index Data
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: rootblk.h,v $
7  * Revision 1.3  1999-05-26 07:49:14  adam
8  * C++ compilation.
9  *
10  * Revision 1.2  1999/02/02 14:51:25  adam
11  * Updated WIN32 code specific sections. Changed header.
12  *
13  * Revision 1.1  1994/09/26 16:08:00  quinn
14  * Most of the functionality in place.
15  *
16  */
17
18 #ifndef ROOTBLK_H
19 #define ROOTBLK_H
20
21 #include <isam.h>
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 typedef struct is_type_header
28 {
29     int blocksize;                /* for sanity-checking */
30     int keysize;                  /*   -do-  */
31     int freelist;                 /* first free block */
32     int top;                      /* first unused block */
33 } is_type_header;
34
35 int is_rb_write(isam_blocktype *ib, is_type_header *hd);
36 int is_rb_read(isam_blocktype *ib, is_type_header *hd);
37
38 #ifdef __cplusplus
39 }
40 #endif
41
42 #endif