SVN_SILENT made messages (.desktop file)
[kdegraphics.git] / okular / generators / dvi / xdvi.h
blobd88817cb816e70160b25126ab3eaad59274c5eea
1 // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*-
2 #ifndef _xdvi_h
3 #define _xdvi_h
5 #include <cstdio>
7 /*
8 * Written by Eric C. Cooper, CMU
9 */
11 #define ROUNDUP(x,y) (((x)+(y)-1)/(y))
13 extern unsigned long num (FILE *, int);
14 extern long snum(FILE *, int);
15 extern struct WindowRec mane, currwin;
17 #define one(fp) ((unsigned char) getc(fp))
18 #define sone(fp) ((long) one(fp))
19 #define two(fp) num (fp, 2)
20 #define stwo(fp) snum(fp, 2)
21 #define four(fp) num (fp, 4)
22 #define sfour(fp) snum(fp, 4)
24 #endif /* _xdvi_h */