1/************************************************************ 2 3Copyright 1999 by Thomas E. Dickey <dickey@clark.net> 4 5 All Rights Reserved 6 7Permission is hereby granted, free of charge, to any person obtaining a 8copy of this software and associated documentation files (the 9"Software"), to deal in the Software without restriction, including 10without limitation the rights to use, copy, modify, merge, publish, 11distribute, sublicense, and/or sell copies of the Software, and to 12permit persons to whom the Software is furnished to do so, subject to 13the following conditions: 14 15The above copyright notice and this permission notice shall be included 16in all copies or substantial portions of the Software. 17 18THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 19OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 20MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 21IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY 22CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 23TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 24SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 25 26Except as contained in this notice, the name(s) of the above copyright 27holders shall not be used in advertising or otherwise to promote the 28sale, use or other dealings in this Software without prior written 29authorization. 30 31********************************************************/ 32 33#ifndef included_xmu_lookup_h 34#define included_xmu_lookup_h 1 35 36#include <X11/Xlib.h> 37#include <X11/Xutil.h> 38 39extern int XmuLookupString( 40 XKeyEvent *event, 41 unsigned char *buffer, 42 int nbytes, 43 KeySym *keysym, 44 XComposeStatus *status, 45 unsigned long keysymSet); 46 47extern int XmuLookupLatin1( 48 XKeyEvent *event, 49 unsigned char *buffer, 50 int nbytes, 51 KeySym *keysym, 52 XComposeStatus *status); 53 54extern int XmuLookupLatin2( 55 XKeyEvent *event, 56 unsigned char *buffer, 57 int nbytes, 58 KeySym *keysym, 59 XComposeStatus *status); 60 61extern int XmuLookupLatin3( 62 XKeyEvent *event, 63 unsigned char *buffer, 64 int nbytes, 65 KeySym *keysym, 66 XComposeStatus *status); 67 68extern int XmuLookupLatin4( 69 XKeyEvent *event, 70 unsigned char *buffer, 71 int nbytes, 72 KeySym *keysym, 73 XComposeStatus *status); 74 75extern int XmuLookupKana( 76 XKeyEvent *event, 77 unsigned char *buffer, 78 int nbytes, 79 KeySym *keysym, 80 XComposeStatus *status); 81 82extern int XmuLookupJISX0201( 83 XKeyEvent *event, 84 unsigned char *buffer, 85 int nbytes, 86 KeySym *keysym, 87 XComposeStatus *status); 88 89extern int XmuLookupArabic( 90 XKeyEvent *event, 91 unsigned char *buffer, 92 int nbytes, 93 KeySym *keysym, 94 XComposeStatus *status); 95 96extern int XmuLookupCyrillic( 97 XKeyEvent *event, 98 unsigned char *buffer, 99 int nbytes, 100 KeySym *keysym, 101 XComposeStatus *status); 102 103extern int XmuLookupGreek( 104 XKeyEvent *event, 105 unsigned char *buffer, 106 int nbytes, 107 KeySym *keysym, 108 XComposeStatus *status); 109 110extern int XmuLookupAPL( 111 XKeyEvent *event, 112 unsigned char *buffer, 113 int nbytes, 114 KeySym *keysym, 115 XComposeStatus *status); 116 117extern int XmuLookupHebrew( 118 XKeyEvent *event, 119 unsigned char *buffer, 120 int nbytes, 121 KeySym *keysym, 122 XComposeStatus *status); 123 124#endif /* included_xmu_lookup_h */ 125