summaryrefslogtreecommitdiff
path: root/dviware/dvi2qms/util.h
blob: 7043dd045cf2371c45f194e4abdd86fca0e89406 (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#define get1(f) ((unsigned long) fgetc(f))
#define sget1(f) ((long) ((char) fgetc(f)))

extern char *outfname, *infname, *user, *host, *pgmnam, efn[256];
extern FILE *ef;
extern int olderrfd,debugging;

/*VARARGS1*/
extern debug();
/* debug(fmt,a,b,c,d,e)
 *     char *fmt;
 *     long a,b,c,d,e;
 */

/*VARARGS1*/
extern croak();
/* croak(fmt,a,b,c,d,e)
 *     char *fmt;
 *     long a,b,c,d,e;
 */

extern swallow();
/* swallow(nchars,f)
 *     long nchars;
 *     FILE *f;
 */

extern unsigned long get2();
/* unsigned long get2(f)
 *     FILE *f;
 */

extern unsigned long get3();
/* unsigned long get3(f)
 *     FILE *f;
 */

extern unsigned long get4();
/* unsigned long get4(f)
 *     FILE *f;
 */

extern long sget2();
/* long sget2(f)
 *     FILE *f;
 */

extern long sget3();
/* long sget3(f)
 *     FILE *f;
 */

extern long sget4();
/* long sget4(f)
 *     FILE *f;
 */

extern put4();
/* put4(l,f)
 *     unsigned long l;
 *     FILE *f;
 */

extern put2();
/* put2(s,f)
 *     unsigned short s;
 *     FILE *f;
 */