1/* 2 * Copyright 1992 Network Computing Devices 3 * 4 * Permission to use, copy, modify, distribute, and sell this software and its 5 * documentation for any purpose is hereby granted without fee, provided that 6 * 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 NCD. not be used in advertising or 9 * publicity pertaining to distribution of the software without specific, 10 * written prior permission. NCD. makes no representations about the 11 * suitability of this software for any purpose. It is provided "as is" 12 * without express or implied warranty. 13 * 14 * NCD. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NCD. 16 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 17 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 18 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 19 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 20 * 21 */ 22 23#ifndef _LBX_H_ 24#define _LBX_H_ 25 26#define LBXNAME "LBX" 27 28#define LBX_MAJOR_VERSION 1 29#define LBX_MINOR_VERSION 0 30 31#define LbxNumberReqs 44 32#define LbxEvent 0 33#define LbxQuickMotionDeltaEvent 1 34#define LbxNumberEvents 2 35 36/* This is always the master client */ 37#define LbxMasterClientIndex 0 38 39/* LbxEvent lbxType sub-fields */ 40#define LbxSwitchEvent 0 41#define LbxCloseEvent 1 42#define LbxDeltaEvent 2 43#define LbxInvalidateTagEvent 3 44#define LbxSendTagDataEvent 4 45#define LbxListenToOne 5 46#define LbxListenToAll 6 47#define LbxMotionDeltaEvent 7 48#define LbxReleaseCmapEvent 8 49#define LbxFreeCellsEvent 9 50 51/* 52 * Lbx image compression methods 53 * 54 * No compression is always assigned the value of 0. 55 * 56 * The rest of the compression method opcodes are assigned dynamically 57 * at option negotiation time. 58 */ 59 60#define LbxImageCompressNone 0 61 62 63#define BadLbxClient 0 64#define LbxNumberErrors (BadLbxClient + 1) 65 66/* tagged data types */ 67#define LbxTagTypeModmap 1 68#define LbxTagTypeKeymap 2 69#define LbxTagTypeProperty 3 70#define LbxTagTypeFont 4 71#define LbxTagTypeConnInfo 5 72 73#endif 74