diff options
Diffstat (limited to 'randrscope.h')
-rw-r--r-- | randrscope.h | 21 |
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 + |