summaryrefslogtreecommitdiff
path: root/x11.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11.h')
-rw-r--r--x11.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11.h b/x11.h
index 6cdf270..fa6cfef 100644
--- a/x11.h
+++ b/x11.h
@@ -656,4 +656,9 @@ uint32_t getreqlen(FD fd, const unsigned char *buf) {
/* Constant defined in Generic Event Protocol 1.0 for event type */
#define Event_Type_Generic 35
+/* Routines for printing the two common forms of error responses */
+extern void printErrorWithValue(const unsigned char *buf,
+ short FieldType, const char *desc);
+extern void printErrorNoValue(const unsigned char *buf);
+
#endif /* XSCOPE_X11_H */