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