summaryrefslogtreecommitdiffstats
path: root/kdvi/xdvi.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit47d455dd55be855e4cc691c32f687f723d9247ee (patch)
tree52e236aaa2576bdb3840ebede26619692fed6d7d /kdvi/xdvi.h
downloadtdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.tar.gz
tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdvi/xdvi.h')
-rw-r--r--kdvi/xdvi.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/kdvi/xdvi.h b/kdvi/xdvi.h
new file mode 100644
index 00000000..0770cd8b
--- /dev/null
+++ b/kdvi/xdvi.h
@@ -0,0 +1,24 @@
+// -*- C++ -*-
+#ifndef _xdvi_h
+#define _xdvi_h
+
+#include <stdio.h>
+
+/*
+ * Written by Eric C. Cooper, CMU
+ */
+
+#define ROUNDUP(x,y) (((x)+(y)-1)/(y))
+
+extern unsigned long num (FILE *, int);
+extern long snum(FILE *, int);
+extern struct WindowRec mane, currwin;
+
+#define one(fp) ((unsigned char) getc(fp))
+#define sone(fp) ((long) one(fp))
+#define two(fp) num (fp, 2)
+#define stwo(fp) snum(fp, 2)
+#define four(fp) num (fp, 4)
+#define sfour(fp) snum(fp, 4)
+
+#endif /* _xdvi_h */