Implemented Sort.
[idzebra-moved-to-github.git] / include / sortidx.h
1 /*
2  * Copyright (C) 1994-1998, Index Data I/S 
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: sortidx.h,v $
7  * Revision 1.1  1998-02-10 12:03:05  adam
8  * Implemented Sort.
9  *
10  */
11
12 #ifndef SORTIDX_H
13 #define SORTIDX_H
14
15 #include <bfile.h>
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 #define SORT_IDX_ENTRYSIZE 64
22
23 typedef struct sortIdx *SortIdx;
24
25 SortIdx sortIdx_open (BFiles bfs, int write_flag);
26 void sortIdx_close (SortIdx si);
27 int sortIdx_type (SortIdx si, int type);
28 void sortIdx_sysno (SortIdx si, int sysno);
29 void sortIdx_add (SortIdx si, const char *buf, int len);
30 void sortIdx_read (SortIdx si, char *buf);
31
32 #ifdef __cplusplus
33 }
34 #endif
35
36 #endif