Debian Codegraph @

contrib/toacme/src/io.h

raw symbols SCIP
1 // ToACME - converts other source codes to ACME format.
2 // Copyright (C) 1999-2006 Marco Baye
3 // Have a look at "main.c" for further info
4 //
5 // input/output
6 #ifndef io_H
7 #define io_H
8
9
10 #include <stdio.h>
11 #include "config.h"
12
13
14 // variables
15 extern int GotByte;
16 extern bool IO_reached_eof;
17 extern FILE *global_input_stream;
18 extern FILE *global_output_stream;
19
20
21 // prototypes
22 extern void IO_set_input_padding(int);
23 extern int IO_get_byte(void);
24 extern unsigned int IO_get_le16(void); // get little-endian 16-bit value
25 extern unsigned int IO_get_le24(void); // get little-endian 24-bit value
26 extern void IO_put_string(const char string[]);
27 extern void IO_put_byte(char b);
28 extern void IO_put_low_byte_hex(int v);
29 extern void IO_put_low_16b_hex(int w);
30 extern void IO_process_load_address(void);
31
32
33 #endif