Back to index

im-sdk  12.3.91
Defines | Typedefs
XimProto.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define XIM_SERVERS   "XIM_SERVERS"
#define XIM_LOCALES   "LOCALES"
#define XIM_TRANSPORT   "TRANSPORT"
#define XIM_SERVER_CATEGORY   "@server="
#define XIM_LOCAL_CATEGORY   "@locale="
#define XIM_TRANSPORT_CATEGORY   "@transport="
#define PROTOCOLMAJORVERSION   1
#define PROTOCOLMINORVERSION   0
#define XIM_CONNECT   1
#define XIM_CONNECT_REPLY   2
#define XIM_DISCONNECT   3
#define XIM_DISCONNECT_REPLY   4
#define XIM_AUTH_REQUIRED   10
#define XIM_AUTH_REPLY   11
#define XIM_AUTH_NEXT   12
#define XIM_AUTH_SETUP   13
#define XIM_AUTH_NG   14
#define XIM_ERROR   20
#define XIM_OPEN   30
#define XIM_OPEN_REPLY   31
#define XIM_CLOSE   32
#define XIM_CLOSE_REPLY   33
#define XIM_REGISTER_TRIGGERKEYS   34
#define XIM_TRIGGER_NOTIFY   35
#define XIM_TRIGGER_NOTIFY_REPLY   36
#define XIM_SET_EVENT_MASK   37
#define XIM_ENCODING_NEGOTIATION   38
#define XIM_ENCODING_NEGOTIATION_REPLY   39
#define XIM_QUERY_EXTENSION   40
#define XIM_QUERY_EXTENSION_REPLY   41
#define XIM_SET_IM_VALUES   42
#define XIM_SET_IM_VALUES_REPLY   43
#define XIM_GET_IM_VALUES   44
#define XIM_GET_IM_VALUES_REPLY   45
#define XIM_CREATE_IC   50
#define XIM_CREATE_IC_REPLY   51
#define XIM_DESTROY_IC   52
#define XIM_DESTROY_IC_REPLY   53
#define XIM_SET_IC_VALUES   54
#define XIM_SET_IC_VALUES_REPLY   55
#define XIM_GET_IC_VALUES   56
#define XIM_GET_IC_VALUES_REPLY   57
#define XIM_SET_IC_FOCUS   58
#define XIM_UNSET_IC_FOCUS   59
#define XIM_FORWARD_EVENT   60
#define XIM_SYNC   61
#define XIM_SYNC_REPLY   62
#define XIM_COMMIT   63
#define XIM_RESET_IC   64
#define XIM_RESET_IC_REPLY   65
#define XIM_GEOMETRY   70
#define XIM_STR_CONVERSION   71
#define XIM_STR_CONVERSION_REPLY   72
#define XIM_PREEDIT_START   73
#define XIM_PREEDIT_START_REPLY   74
#define XIM_PREEDIT_DRAW   75
#define XIM_PREEDIT_CARET   76
#define XIM_PREEDIT_CARET_REPLY   77
#define XIM_PREEDIT_DONE   78
#define XIM_STATUS_START   79
#define XIM_STATUS_DRAW   80
#define XIM_STATUS_DONE   81
#define XIM_PREEDITSTATE   82
#define XIM_DELAY_DESTROY_IC   83
#define XIM_DELAY_DESTROY_IC_REPLY   84
#define XIM_IMID_VALID   0x0001
#define XIM_ICID_VALID   0x0002
#define XIM_BadAlloc   1
#define XIM_BadStyle   2
#define XIM_BadClientWindow   3
#define XIM_BadFocusWindow   4
#define XIM_BadArea   5
#define XIM_BadSpotLocation   6
#define XIM_BadColormap   7
#define XIM_BadAtom   8
#define XIM_BadPixel   9
#define XIM_BadPixmap   10
#define XIM_BadName   11
#define XIM_BadCursor   12
#define XIM_BadProtocol   13
#define XIM_BadForeground   14
#define XIM_BadBackground   15
#define XIM_LocaleNotSupported   16
#define XIM_BadSomething   999
#define BIGENDIAN   (CARD8)0x42 /* MSB first */
#define LITTLEENDIAN   (CARD8)0x6c /* LSB first */
#define XimType_SeparatorOfNestedList   0
#define XimType_CARD8   1
#define XimType_CARD16   2
#define XimType_CARD32   3
#define XimType_STRING8   4
#define XimType_Window   5
#define XimType_XIMStyles   10
#define XimType_XRectangle   11
#define XimType_XPoint   12
#define XimType_XFontSet   13
#define XimType_XIMOptions   14
#define XimType_XIMHotKeyTriggers   15
#define XimType_XIMHotKeyState   16
#define XimType_XIMStringConversion   17
#define XimType_NEST   0x7fff
#define XIM_Encoding_NameCategory   0
#define XIM_Encoding_DetailCategory   1
#define XIM_Default_Encoding_IDX   -1
#define XIM_HEADER_SIZE
#define XIM_CM_DATA_SIZE   20
#define XIM_PAD(length)   ((4 - ((length) % 4)) % 4)
#define XIM_SET_PAD(ptr, length)

Typedefs

typedef CARD16 BITMASK16
typedef CARD32 BITMASK32
typedef CARD32 EVENTMASK
typedef CARD16 XIMID
typedef CARD16 XICID

Define Documentation

#define BIGENDIAN   (CARD8)0x42 /* MSB first */

Definition at line 149 of file XimProto.h.

#define LITTLEENDIAN   (CARD8)0x6c /* LSB first */

Definition at line 150 of file XimProto.h.

#define PROTOCOLMAJORVERSION   1

Definition at line 50 of file XimProto.h.

#define PROTOCOLMINORVERSION   0

Definition at line 51 of file XimProto.h.

#define XIM_AUTH_NEXT   12

Definition at line 63 of file XimProto.h.

#define XIM_AUTH_NG   14

Definition at line 65 of file XimProto.h.

#define XIM_AUTH_REPLY   11

Definition at line 62 of file XimProto.h.

#define XIM_AUTH_REQUIRED   10

Definition at line 61 of file XimProto.h.

#define XIM_AUTH_SETUP   13

Definition at line 64 of file XimProto.h.

#define XIM_BadAlloc   1

Definition at line 128 of file XimProto.h.

#define XIM_BadArea   5

Definition at line 132 of file XimProto.h.

#define XIM_BadAtom   8

Definition at line 135 of file XimProto.h.

#define XIM_BadBackground   15

Definition at line 142 of file XimProto.h.

#define XIM_BadClientWindow   3

Definition at line 130 of file XimProto.h.

#define XIM_BadColormap   7

Definition at line 134 of file XimProto.h.

#define XIM_BadCursor   12

Definition at line 139 of file XimProto.h.

#define XIM_BadFocusWindow   4

Definition at line 131 of file XimProto.h.

#define XIM_BadForeground   14

Definition at line 141 of file XimProto.h.

#define XIM_BadName   11

Definition at line 138 of file XimProto.h.

#define XIM_BadPixel   9

Definition at line 136 of file XimProto.h.

#define XIM_BadPixmap   10

Definition at line 137 of file XimProto.h.

#define XIM_BadProtocol   13

Definition at line 140 of file XimProto.h.

#define XIM_BadSomething   999

Definition at line 144 of file XimProto.h.

#define XIM_BadSpotLocation   6

Definition at line 133 of file XimProto.h.

#define XIM_BadStyle   2

Definition at line 129 of file XimProto.h.

#define XIM_CLOSE   32

Definition at line 71 of file XimProto.h.

#define XIM_CLOSE_REPLY   33

Definition at line 72 of file XimProto.h.

#define XIM_CM_DATA_SIZE   20

Definition at line 193 of file XimProto.h.

#define XIM_COMMIT   63

Definition at line 99 of file XimProto.h.

#define XIM_CONNECT   1

Definition at line 56 of file XimProto.h.

#define XIM_CONNECT_REPLY   2

Definition at line 57 of file XimProto.h.

#define XIM_CREATE_IC   50

Definition at line 86 of file XimProto.h.

#define XIM_CREATE_IC_REPLY   51

Definition at line 87 of file XimProto.h.

#define XIM_Default_Encoding_IDX   -1

Definition at line 180 of file XimProto.h.

#define XIM_DELAY_DESTROY_IC   83

Definition at line 117 of file XimProto.h.

#define XIM_DELAY_DESTROY_IC_REPLY   84

Definition at line 118 of file XimProto.h.

#define XIM_DESTROY_IC   52

Definition at line 88 of file XimProto.h.

#define XIM_DESTROY_IC_REPLY   53

Definition at line 89 of file XimProto.h.

#define XIM_DISCONNECT   3

Definition at line 58 of file XimProto.h.

#define XIM_DISCONNECT_REPLY   4

Definition at line 59 of file XimProto.h.

Definition at line 175 of file XimProto.h.

#define XIM_Encoding_NameCategory   0

Definition at line 174 of file XimProto.h.

#define XIM_ENCODING_NEGOTIATION   38

Definition at line 77 of file XimProto.h.

Definition at line 78 of file XimProto.h.

#define XIM_ERROR   20

Definition at line 67 of file XimProto.h.

#define XIM_FORWARD_EVENT   60

Definition at line 96 of file XimProto.h.

#define XIM_GEOMETRY   70

Definition at line 103 of file XimProto.h.

#define XIM_GET_IC_VALUES   56

Definition at line 92 of file XimProto.h.

#define XIM_GET_IC_VALUES_REPLY   57

Definition at line 93 of file XimProto.h.

#define XIM_GET_IM_VALUES   44

Definition at line 83 of file XimProto.h.

#define XIM_GET_IM_VALUES_REPLY   45

Definition at line 84 of file XimProto.h.

#define XIM_HEADER_SIZE
Value:
sizeof(CARD8)        /* sizeof mejor-opcode */   \
       + sizeof(CARD8)             /* sizeof minor-opcode */   \
       + sizeof(INT16)             /* sizeof length */

Definition at line 185 of file XimProto.h.

#define XIM_ICID_VALID   0x0002

Definition at line 123 of file XimProto.h.

#define XIM_IMID_VALID   0x0001

Definition at line 122 of file XimProto.h.

#define XIM_LOCAL_CATEGORY   "@locale="

Definition at line 44 of file XimProto.h.

#define XIM_LocaleNotSupported   16

Definition at line 143 of file XimProto.h.

#define XIM_LOCALES   "LOCALES"

Definition at line 37 of file XimProto.h.

#define XIM_OPEN   30

Definition at line 69 of file XimProto.h.

#define XIM_OPEN_REPLY   31

Definition at line 70 of file XimProto.h.

#define XIM_PAD (   length)    ((4 - ((length) % 4)) % 4)

Definition at line 208 of file XimProto.h.

#define XIM_PREEDIT_CARET   76

Definition at line 109 of file XimProto.h.

#define XIM_PREEDIT_CARET_REPLY   77

Definition at line 110 of file XimProto.h.

#define XIM_PREEDIT_DONE   78

Definition at line 111 of file XimProto.h.

#define XIM_PREEDIT_DRAW   75

Definition at line 108 of file XimProto.h.

#define XIM_PREEDIT_START   73

Definition at line 106 of file XimProto.h.

#define XIM_PREEDIT_START_REPLY   74

Definition at line 107 of file XimProto.h.

#define XIM_PREEDITSTATE   82

Definition at line 115 of file XimProto.h.

#define XIM_QUERY_EXTENSION   40

Definition at line 79 of file XimProto.h.

#define XIM_QUERY_EXTENSION_REPLY   41

Definition at line 80 of file XimProto.h.

#define XIM_REGISTER_TRIGGERKEYS   34

Definition at line 73 of file XimProto.h.

#define XIM_RESET_IC   64

Definition at line 100 of file XimProto.h.

#define XIM_RESET_IC_REPLY   65

Definition at line 101 of file XimProto.h.

#define XIM_SERVER_CATEGORY   "@server="

Definition at line 43 of file XimProto.h.

#define XIM_SERVERS   "XIM_SERVERS"

Definition at line 36 of file XimProto.h.

#define XIM_SET_EVENT_MASK   37

Definition at line 76 of file XimProto.h.

#define XIM_SET_IC_FOCUS   58

Definition at line 94 of file XimProto.h.

#define XIM_SET_IC_VALUES   54

Definition at line 90 of file XimProto.h.

#define XIM_SET_IC_VALUES_REPLY   55

Definition at line 91 of file XimProto.h.

#define XIM_SET_IM_VALUES   42

Definition at line 81 of file XimProto.h.

#define XIM_SET_IM_VALUES_REPLY   43

Definition at line 82 of file XimProto.h.

#define XIM_SET_PAD (   ptr,
  length 
)
Value:
{                                                              \
       register int   Counter = XIM_PAD((int)length);          \
       if (Counter) {                                                 \
           register char    *Ptr = (char *)(ptr) + (length);   \
           length += Counter;                                         \
           for (; Counter; --Counter, ++Ptr)                          \
              *Ptr = '\0';                                     \
       }                                                       \
    }

Definition at line 210 of file XimProto.h.

#define XIM_STATUS_DONE   81

Definition at line 114 of file XimProto.h.

#define XIM_STATUS_DRAW   80

Definition at line 113 of file XimProto.h.

#define XIM_STATUS_START   79

Definition at line 112 of file XimProto.h.

#define XIM_STR_CONVERSION   71

Definition at line 104 of file XimProto.h.

#define XIM_STR_CONVERSION_REPLY   72

Definition at line 105 of file XimProto.h.

#define XIM_SYNC   61

Definition at line 97 of file XimProto.h.

#define XIM_SYNC_REPLY   62

Definition at line 98 of file XimProto.h.

#define XIM_TRANSPORT   "TRANSPORT"

Definition at line 38 of file XimProto.h.

#define XIM_TRANSPORT_CATEGORY   "@transport="

Definition at line 45 of file XimProto.h.

#define XIM_TRIGGER_NOTIFY   35

Definition at line 74 of file XimProto.h.

#define XIM_TRIGGER_NOTIFY_REPLY   36

Definition at line 75 of file XimProto.h.

#define XIM_UNSET_IC_FOCUS   59

Definition at line 95 of file XimProto.h.

#define XimType_CARD16   2

Definition at line 157 of file XimProto.h.

#define XimType_CARD32   3

Definition at line 158 of file XimProto.h.

#define XimType_CARD8   1

Definition at line 156 of file XimProto.h.

#define XimType_NEST   0x7fff

Definition at line 169 of file XimProto.h.

Definition at line 155 of file XimProto.h.

#define XimType_STRING8   4

Definition at line 159 of file XimProto.h.

#define XimType_Window   5

Definition at line 160 of file XimProto.h.

#define XimType_XFontSet   13

Definition at line 164 of file XimProto.h.

#define XimType_XIMHotKeyState   16

Definition at line 167 of file XimProto.h.

#define XimType_XIMHotKeyTriggers   15

Definition at line 166 of file XimProto.h.

#define XimType_XIMOptions   14

Definition at line 165 of file XimProto.h.

#define XimType_XIMStringConversion   17

Definition at line 168 of file XimProto.h.

#define XimType_XIMStyles   10

Definition at line 161 of file XimProto.h.

#define XimType_XPoint   12

Definition at line 163 of file XimProto.h.

#define XimType_XRectangle   11

Definition at line 162 of file XimProto.h.


Typedef Documentation

typedef CARD16 BITMASK16

Definition at line 198 of file XimProto.h.

typedef CARD32 BITMASK32

Definition at line 199 of file XimProto.h.

typedef CARD32 EVENTMASK

Definition at line 200 of file XimProto.h.

typedef CARD16 XICID

Definition at line 203 of file XimProto.h.

typedef CARD16 XIMID

Definition at line 202 of file XimProto.h.