github.com/rajveermalviya/gamen@v0.1.2-0.20220930195403-9be15877c1aa/internal/xcb/include/X11/extensions/recordconst.h (about) 1 /*************************************************************************** 2 * Copyright 1995 Network Computing Devices 3 * 4 * Permission to use, copy, modify, distribute, and sell this software and 5 * its documentation for any purpose is hereby granted without fee, provided 6 * that the above copyright notice appear in all copies and that both that 7 * copyright notice and this permission notice appear in supporting 8 * documentation, and that the name of Network Computing Devices 9 * not be used in advertising or publicity pertaining to distribution 10 * of the software without specific, written prior permission. 11 * 12 * NETWORK COMPUTING DEVICES DISCLAIMs ALL WARRANTIES WITH REGARD TO 13 * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 14 * AND FITNESS, IN NO EVENT SHALL NETWORK COMPUTING DEVICES BE LIABLE 15 * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 16 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN 17 * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING 18 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 19 **************************************************************************/ 20 21 #ifndef _RECORDCONST_H_ 22 #define _RECORDCONST_H_ 23 24 #define RECORD_NAME "RECORD" 25 #define RECORD_MAJOR_VERSION 1 26 #define RECORD_MINOR_VERSION 13 27 #define RECORD_LOWEST_MAJOR_VERSION 1 28 #define RECORD_LOWEST_MINOR_VERSION 12 29 30 #define XRecordBadContext 0 /* Not a valid RC */ 31 32 #define RecordNumErrors (XRecordBadContext + 1) 33 #define RecordNumEvents 0L 34 35 /* 36 * Constants for arguments of various requests 37 */ 38 #define XRecordFromServerTime 0x01 39 #define XRecordFromClientTime 0x02 40 #define XRecordFromClientSequence 0x04 41 42 #define XRecordCurrentClients 1 43 #define XRecordFutureClients 2 44 #define XRecordAllClients 3 45 46 #define XRecordFromServer 0 47 #define XRecordFromClient 1 48 #define XRecordClientStarted 2 49 #define XRecordClientDied 3 50 #define XRecordStartOfData 4 51 #define XRecordEndOfData 5 52 53 54 #endif /* _RECORD_H_ */