Use cache in dict - not in bfile.
[idzebra-moved-to-github.git] / include / bfile.h
1 /*
2  * Copyright (C) 1994, Index Data I/S 
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: bfile.h,v $
7  * Revision 1.2  1994-08-17 13:32:33  adam
8  * Use cache in dict - not in bfile.
9  *
10  * Revision 1.1  1994/08/16  16:16:02  adam
11  * bfile header created.
12  *
13  */
14
15 #ifndef BFILE_H
16 #define BFILE_H
17 #include <util.h>
18
19 typedef struct BFile_struct
20 {
21     int fd;
22     int block_size;
23 } *BFile;
24
25 int bf_close (BFile);
26 BFile bf_open (const char *name, int block_size, int rw);
27 int bf_read (BFile bf, int no, void *buf);
28 int bf_write (BFile bf, int no, const void *buf);
29
30 #endif