summaryrefslogtreecommitdiff
path: root/randrscope.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2001-06-08 00:32:52 +0000
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-05-04 18:13:07 -0700
commit062412a066cc62635c1d1eb99999ee774775ca6f (patch)
tree3a72f748e101900c292cf242055862ecce4bccb7 /randrscope.h
parent306057f2475b216fb73686bcb0003355cf88944a (diff)
downloadxscope-062412a066cc62635c1d1eb99999ee774775ca6f.tar.gz
Import xscope bits into keithp.com CVS
Diffstat (limited to 'randrscope.h')
-rw-r--r--randrscope.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/randrscope.h b/randrscope.h
new file mode 100644
index 0000000..58b5e0c
--- /dev/null
+++ b/randrscope.h
@@ -0,0 +1,21 @@
+#ifndef _RANDRSCOPE_H_
+#define _RANDRSCOPE_H_
+
+#define RANDRREQUEST 141
+#define RANDRREPLY 142
+#define RANDRERROR 143
+
+
+#define RANDRREQUESTHEADER "RANDRREQUEST"
+#define RANDRREPLYHEADER "RANDRREPLY"
+
+/*
+ To aid in making the choice between level 1 and level 2, we
+ define the following define, which does not print relatively
+ unimportant fields.
+*/
+
+#define printfield(a,b,c,d,e) if (Verbose > 1) PrintField(a,b,c,d,e)
+
+#endif
+