Merge pull request #12 from davel/davel/sqsh
[debian-nspark.git] / nsparkio.h
blob0c438680219471ab26254fe660fde0518ad9564b
1 /*
2 * file input/output function prototypes
4 * BB changed name to nsparkio.h because of conflict with
5 * Borland C++'s io.h
6 * $Header: nsparkio.h 1.4 95/06/23 $
7 * $Log: nsparkio.h,v $
9 * Revision 1.4 95/06/23 xx:xx:xx BB
10 * Changed name to nsparkio.h for use with Borland C++
12 * Revision 1.3 92/12/09 11:41:20 duplain
13 * #ifdef'd out write_halfword() and write_word().
15 * Revision 1.2 92/10/07 10:37:46 duplain
16 * Changed order of function prototypes in line with io.c r1.5 .
18 * Revision 1.1 92/09/29 18:02:35 duplain
19 * Initial revision
23 /* BB changed next two lines */
24 /* #ifndef __IO_H */
25 /* #define __IO_H */
26 #ifndef __NSPARKIO_H
27 #define __NSPARKIO_H
29 Ferror check_stream(FILE *fp);
30 Byte read_byte(FILE *ifp);
31 Halfword read_halfword(FILE *ifp);
32 Word read_word(FILE *ifp);
33 void write_byte(FILE *ofp, Byte byte);
34 #ifdef notyet
35 void write_halfword(FILE *ofp, Halfword halfword);
36 void write_word(FILE *ofp, Word word);
37 #endif /* notyet */
38 Header *read_header(FILE *ifp);
39 Status read_sqsh_header(FILE *ifp, SqshHeader *sqsh_header);
40 void sqsh_header_to_header(SqshHeader *sqsh_header, Header *Header);
42 /* BB changed next line */
43 /* #endif */ /* __IO_H */
44 #endif /* __NSPARKIO_H */