forked from giannkas/ecofolder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readlib.h
31 lines (24 loc) · 1.25 KB
/
readlib.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*****************************************************************************/
/* readlib.h */
/*****************************************************************************/
/* Stefan Roemer, 06.02.1995 - 06.02.1995 */
/* Stefan Schwoon, April 1997 */
/* Giann Karlo Aguirre-Samboní, 2022- */
/*****************************************************************************/
#ifndef __READLIB_H__
#define __READLIB_H__
/*****************************************************************************/
extern char *HLinput_file; /* Name of file currently being processed. */
extern int HLinput_line; /* Number of current input line in file. */
extern char *sbuf; /* Some functions (ReadCmdToken, ReadEnclString) */
extern int sballoc; /* store strings in this buffer. Memory is allocated */
/* (and enlarged) automatically. */
/*****************************************************************************/
extern char ReadCharComment(FILE *file);
extern void ReadCmdToken(FILE *file);
extern void ReadNewline(FILE *file);
extern char ReadWhiteSpace(FILE *file);
extern void ReadNumber(FILE *file, int *x);
extern void ReadEnclString(FILE *file);
extern void ReadCoordinates(FILE *file, int *x, int *y);
#endif