#ifndef WH_PROTO_H_57e3bbcd_ #define WH_PROTO_H_57e3bbcd_ /* * "The client must send an initial byte of data to identify the byte * order to be employed. The value of the byte must be octal 102 or * 154. The value 102 (ASCII uppercase B) means values are * transmitted most-significant byte first, and value 154 (ASCII * lowercase l) means values are transmitted least-significant byte * first." */ #define XP_ENDIAN_BE 0x42 #define XP_ENDIAN_LE 0x6c /* * "Barring changes, the major version will be 11, and the minor * version will be 0." - that's what I see in live use. */ #define XP_MAJOR_VERSION 11 #define XP_MINOR_VERSION 0 /* * Request opcode values. */ #define XP_REQ_CreateWindow 1 #define XP_REQ_MapWindow 8 #define XP_REQ_GetInputFocus 43 #define XP_REQ_CreateGC 55 #define XP_REQ_ChangeGC 56 #define XP_REQ_PolySegment 66 #define XP_REQ_CreateColormap 78 #define XP_REQ_AllocColor 84 #define XP_REQ_Bell 104 #endif