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