| 1 |
/* |
| 2 |
* Copyright 1992 Oracle and/or its affiliates. All rights reserved. |
| 3 |
* |
| 4 |
* Permission is hereby granted, free of charge, to any person obtaining a |
| 5 |
* copy of this software and associated documentation files (the "Software"), |
| 6 |
* to deal in the Software without restriction, including without limitation |
| 7 |
* the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 8 |
* and/or sell copies of the Software, and to permit persons to whom the |
| 9 |
* Software is furnished to do so, subject to the following conditions: |
| 10 |
* |
| 11 |
* The above copyright notice and this permission notice (including the next |
| 12 |
* paragraph) shall be included in all copies or substantial portions of the |
| 13 |
* Software. |
| 14 |
* |
| 15 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 16 |
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 17 |
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 18 |
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 19 |
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 20 |
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 21 |
* DEALINGS IN THE SOFTWARE. |
| 22 |
*/ |
| 23 |
/****************************************************************** |
| 24 |
|
| 25 |
Copyright 1992, 1993, 1994 by FUJITSU LIMITED |
| 26 |
|
| 27 |
Permission to use, copy, modify, distribute, and sell this software |
| 28 |
and its documentation for any purpose is hereby granted without fee, |
| 29 |
provided that the above copyright notice appear in all copies and |
| 30 |
that both that copyright notice and this permission notice appear |
| 31 |
in supporting documentation, and that the name of FUJITSU LIMITED |
| 32 |
not be used in advertising or publicity pertaining to distribution |
| 33 |
of the software without specific, written prior permission. |
| 34 |
FUJITSU LIMITED makes no representations about the suitability of |
| 35 |
this software for any purpose. |
| 36 |
It is provided "as is" without express or implied warranty. |
| 37 |
|
| 38 |
FUJITSU LIMITED DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
| 39 |
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
| 40 |
EVENT SHALL FUJITSU LIMITED BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
| 41 |
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF |
| 42 |
USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR |
| 43 |
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 44 |
PERFORMANCE OF THIS SOFTWARE. |
| 45 |
|
| 46 |
Author: Hideki Hiura ([email protected]) Sun Microsystems, Inc. |
| 47 |
Takashi Fujiwara FUJITSU LIMITED |
| 48 |
[email protected] |
| 49 |
|
| 50 |
******************************************************************/ |
| 51 |
|
| 52 |
#ifndef _XIMTRX_H |
| 53 |
#define _XIMTRX_H |
| 54 |
|
| 55 |
typedef struct _XIntrCallbackRec *XIntrCallbackPtr; |
| 56 |
|
| 57 |
typedef struct _XIntrCallbackRec { |
| 58 |
Bool (*func)( |
| 59 |
Xim, INT16, XPointer, XPointer |
| 60 |
); |
| 61 |
XPointer call_data; |
| 62 |
XIntrCallbackPtr next; |
| 63 |
} XIntrCallbackRec ; |
| 64 |
|
| 65 |
typedef struct _XSpecRec { |
| 66 |
XIntrCallbackPtr intr_cb; |
| 67 |
Atom imconnectid; |
| 68 |
Atom improtocolid; |
| 69 |
Atom immoredataid; |
| 70 |
Window lib_connect_wid; |
| 71 |
Window ims_connect_wid; |
| 72 |
XPointer ev; |
| 73 |
CARD32 major_code; |
| 74 |
CARD32 minor_code; |
| 75 |
CARD32 BoundarySize; |
| 76 |
} XSpecRec; |
| 77 |
|
| 78 |
#define _XIM_PROTOCOL "_XIM_PROTOCOL" |
| 79 |
#define _XIM_XCONNECT "_XIM_XCONNECT" |
| 80 |
#define _XIM_MOREDATA "_XIM_MOREDATA" |
| 81 |
|
| 82 |
#define MAJOR_TRANSPORT_VERSION 0 |
| 83 |
#define MINOR_TRANSPORT_VERSION 0 |
| 84 |
|
| 85 |
#endif /* _XIMTRX_H */ |