Using mfile.
[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.5  1994-08-24 08:45:52  quinn
8  Using mfile.
9
10  * Revision 1.4  1994/08/17  15:38:28  adam
11  * Include of util.h.
12  *
13  * Revision 1.3  1994/08/17  14:09:47  quinn
14  * Small changes
15  *
16  */
17
18 #ifndef BFILE_H
19 #define BFILE_H
20
21 #include <util.h>
22 #include <mfile.h>
23
24 typedef struct BFile_struct
25 {
26     MFile mf;
27 } *BFile, BFile_struct;
28
29 int bf_close (BFile);
30 BFile bf_open (const char *name, int block_size, int wflag);
31 int bf_read (BFile bf, int no, int offset, int num, void *buf);
32 int bf_write (BFile bf, int no, int offset, int num, const void *buf);
33
34 #endif