Pristine Ack-5.5
[Ack-5.5.git] / util / ego / ic / ic_io.h
1 /* $Id: ic_io.h,v 1.4 1994/06/24 10:24:15 ceriel Exp $ */
2 /*
3  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
4  * See the copyright notice in the ACK home directory, in the file "Copyright".
5  */
6 /*   I N T E R M E D I A T E   C O D E
7  *
8  *    L O W   L E V E L   I / O   R O U T I N E S
9  */
10
11
12 extern int      table1();               /* (  )
13                                          * Read an instruction from the
14                                          * Compact Assembly Language input
15                                          * file (in 'neutral state').
16                                          */
17 extern int      table2();               /* ( )
18                                          * Read an instruction argument.
19                                          */
20 extern int      table3();               /* ( int )
21                                          * Read 'Common Table' item.
22                                          */
23 extern short    get_int();              /* ( )                          */
24 extern offset   get_off();              /* ( )                          */
25 extern char     readchar();             /* ( )                          */
26 extern          file_init();            /* (FILE *f, short state, long length)
27                                          * Input file initialization. All
28                                          * following read operations will read
29                                          * from the given file f. Also checks
30                                          * the magic number and sets global
31                                          * variable 'linecount' to 0.
32                                          * If the state is ARCHIVE, length
33                                          * specifies the length of the module.
34                                          */
35 extern          arch_init();            /* (FILE *arch)
36                                          * Same as file_init,but opens an
37                                          * archive file. So it checks the
38                                          * magic number for archives.
39                                          */