Back to index

im-sdk  12.3.91
Classes | Defines | Typedefs | Functions
Xlcint.h File Reference
#include <X11/Xresource.h>
#include <X11/Xutil.h>
#include <stdarg.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _XIMFilter
struct  XIMArg
struct  XIMResource
struct  ICPreeditAttributes
struct  ICStatusAttributes
struct  XrmMethodsRec
struct  XLCdMethodsRec
struct  XLCdCoreRec
struct  _XLCd
struct  XlcArg
struct  _XlcResource
struct  _XOMMethodsRec
struct  _XOMCoreRec
struct  _XOM
struct  XOCMethodsRec
struct  XOCCoreRec
struct  _XOC
struct  XIMMethodsRec
struct  XIMCoreRec
struct  _XIM
struct  XICMethodsRec
struct  XICCoreRec
struct  _XIC

Defines

#define XOffsetOf(s_type, field)   ((unsigned int)&(((s_type*)NULL)->field))
#define XIMNumber(arr)   ((unsigned int) (sizeof(arr) / sizeof(arr[0])))
#define XlcHead   0
#define XlcTail   -1
#define XlcCreateMask   (1L<<0)
#define XlcDefaultMask   (1L<<1)
#define XlcGetMask   (1L<<2)
#define XlcSetMask   (1L<<3)
#define XlcIgnoreMask   (1L<<4)
#define XlcNumber(arr)   (sizeof(arr) / sizeof(arr[0]))

Typedefs

typedef Bool(* XFilterEventProc )()
typedef struct _XIMFilter XFilterEventRec
typedef struct _XIMFilterXFilterEventList
typedef struct XIMResourceXIMResourceList
typedef struct
ICPreeditAttributes
ICPreeditAttributesPtr
typedef struct ICStatusAttributesICStatusAttributesPtr
typedef void(* XmbInitProc )(XPointer state)
typedef char(* XmbCharProc )(XPointer state, const char *str, int *lenp)
typedef void(* XmbFinishProc )(XPointer state)
typedef const char *(* XlcNameProc )(XPointer state)
typedef void(* XrmDestroyProc )(XPointer state)
typedef const XrmMethodsRecXrmMethods
typedef struct _XLCdXLCd
typedef void(* XCloseLCProc )()
typedef char *(* XlcMapModifiersProc )()
typedef XOM(* XOpenOMProc )()
typedef XIM(* XOpenIMProc )()
typedef Bool(* XRegisterIMInstantiateCBProc )()
typedef Bool(* XUnregisterIMInstantiateCBProc )()
typedef XrmMethods(* XrmInitParseInfoProc )()
typedef int(* XmbTextPropertyToTextListProc )(XLCd lcd, Display *display, const XTextProperty *text_prop, char ***list_return, int *count_return)
typedef int(* XwcTextPropertyToTextListProc )(XLCd lcd, Display *display, const XTextProperty *text_prop, wchar_t ***list_return, int *count_return)
typedef int(* XmbTextListToTextPropertyProc )(XLCd lcd, Display *display, char **list, int count, XICCEncodingStyle style, XTextProperty *text_prop_return)
typedef int(* XwcTextListToTextPropertyProc )(XLCd lcd, Display *display, wchar_t **list, int count, XICCEncodingStyle style, XTextProperty *text_prop_return)
typedef void(* XwcFreeStringListProc )(XLCd lcd, wchar_t **list)
typedef const char *(* XDefaultStringProc )(XLCd lcd)
typedef struct XLCdMethodsRecXLCdMethods
typedef struct XLCdCoreRecXLCdCore
typedef struct _XLCd XLCdRec
typedef int XlcPosition
typedef struct XlcArgXlcArgList
typedef struct _XlcResource XlcResource
typedef struct _XlcResourceXlcResourceList
typedef Status(* XCloseOMProc )()
typedef char *(* XSetOMValuesProc )()
typedef char *(* XGetOMValuesProc )()
typedef XOC(* XCreateOCProc )()
typedef struct _XOMMethodsRec XOMMethodsRec
typedef struct _XOMMethodsRecXOMMethods
typedef struct _XOMCoreRec XOMCoreRec
typedef struct _XOMCoreRecXOMCore
typedef struct _XOM XOMRec
typedef void(* XDestroyOCProc )()
typedef char *(* XSetOCValuesProc )()
typedef char *(* XGetOCValuesProc )()
typedef int(* XmbTextEscapementProc )()
typedef int(* XmbTextExtentsProc )()
typedef Status(* XmbTextPerCharExtentsProc )()
typedef int(* XmbDrawStringProc )()
typedef void(* XmbDrawImageStringProc )()
typedef int(* XwcTextEscapementProc )()
typedef int(* XwcTextExtentsProc )()
typedef Status(* XwcTextPerCharExtentsProc )()
typedef int(* XwcDrawStringProc )()
typedef void(* XwcDrawImageStringProc )()
typedef struct XOCMethodsRecXOCMethods
typedef struct XOCCoreRecXOCCore
typedef struct _XOC XOCRec
typedef struct XIMMethodsRecXIMMethods
typedef struct XIMCoreRecXIMCore
typedef struct _XIM XIMRec
typedef struct XICMethodsRecXICMethods
typedef struct XICCoreRecXICCore
typedef struct _XIC XICRec
typedef XLCd(* XLCdLoadProc )(const char *name)

Functions

_XFUNCPROTOBEGIN XLCd _XOpenLC (const char *name)
void _XCloseLC (XLCd lcd)
XLCd _XlcCurrentLC (void)
Bool _XlcValidModSyntax (const char *mods, const char *const *valid)
char * _XlcDefaultMapModifiers (XLCd lcd, _Xconst char *user_mods, _Xconst char *prog_mods)
void _XIMCompileResourceList ()
void _XCopyToArg ()
char ** _XParseBaseFontNameList ()
XrmMethods _XrmInitParseInfo (XPointer *statep)
void _XRegisterFilterByMask ()
void _XRegisterFilterByType ()
void _XUnregisterFilter ()
void _XlcCountVaList (va_list var, int *count_return)
void _XlcVaToArgList (va_list var, int count, XlcArgList *args_return)
void _XlcCompileResourceList (XlcResourceList resources, int num_resources)
char * _XlcGetValues (XPointer base, XlcResourceList resources, int num_resources, XlcArgList args, int num_args, unsigned long mask)
char * _XlcSetValues (XPointer base, XlcResourceList resources, int num_resources, XlcArgList args, int num_args, unsigned long mask)
void _XlcInitLoader (void)
Bool _XlcAddLoader (XLCdLoadProc proc, XlcPosition position)
void _XlcRemoveLoader (XLCdLoadProc proc)
void _XlcAddUtf8Converters (XLCd lcd)
void _XlcAddUtf8LocaleConverters (XLCd lcd)
XLCd _XlcDefaultLoader (const char *name)
XLCd _XlcGenericLoader (const char *name)
XLCd _XlcUtf8Loader (const char *name)
XLCd _XlcEucLoader (const char *name)
XLCd _XlcSjisLoader (const char *name)
XLCd _XlcJisLoader (const char *name)
XLCd _XlcDynamicLoad (const char *name)
XLCd _XlcDynamicLoader (const char *name)
Bool _XInitDefaultIM (XLCd lcd)
Bool _XInitDefaultOM (XLCd lcd)
Bool _XInitDynamicIM (XLCd lcd)
Bool _XInitDynamicOM (XLCd lcd)

Class Documentation

struct _XIMFilter

Definition at line 90 of file Xlcint.h.

Collaboration diagram for _XIMFilter:
Class Members
XPointer client_data
int end_type
unsigned long event_mask
XFilterEventProc filter
struct _XIMFilter * next
int start_type
Window window
struct XIMArg

Definition at line 99 of file Xlcint.h.

Class Members
char * name
XPointer value
struct XIMResource

Definition at line 116 of file Xlcint.h.

Class Members
unsigned short id
unsigned short mode
char * resource_name
long resource_offset
int resource_size
XrmQuark xrm_name
struct ICPreeditAttributes

Definition at line 129 of file Xlcint.h.

Collaboration diagram for ICPreeditAttributes:
Class Members
XRectangle area
XRectangle area_needed
unsigned long background
Pixmap background_pixmap
XIMCallback caret_callback
XICCallback caret_callback
Colormap colormap
Cursor cursor
XIMCallback done_callback
XICCallback done_callback
XIMCallback draw_callback
XICCallback draw_callback
XFontSet fontset
unsigned long foreground
int line_spacing
XIMPreeditState preedit_state
XPoint spot_location
XIMCallback start_callback
XICCallback start_callback
XIMCallback state_notify_callback
XICCallback state_notify_callback
Atom std_colormap
struct ICStatusAttributes

Definition at line 149 of file Xlcint.h.

Collaboration diagram for ICStatusAttributes:
Class Members
XRectangle area
XRectangle area_needed
unsigned long background
Pixmap background_pixmap
Colormap colormap
Cursor cursor
XIMCallback done_callback
XICCallback done_callback
XIMCallback draw_callback
XICCallback draw_callback
XFontSet fontset
unsigned long foreground
int line_spacing
XIMCallback start_callback
XICCallback start_callback
Atom std_colormap
struct XrmMethodsRec

Definition at line 206 of file Xlcint.h.

Class Members
XrmDestroyProc destroy
XlcNameProc lcname
XmbCharProc mbchar
XmbFinishProc mbfinish
XmbInitProc mbinit
struct XLCdMethodsRec

Definition at line 331 of file Xlcint.h.

Collaboration diagram for XLCdMethodsRec:
Class Members
XCloseLCProc close
XDefaultStringProc default_string
XrmInitParseInfoProc init_parse_info
XlcMapModifiersProc map_modifiers
XmbTextListToTextPropertyProc mb_text_list_to_prop
XmbTextPropertyToTextListProc mb_text_prop_to_list
XOpenIMProc open_im
XOpenOMProc open_om
XRegisterIMInstantiateCBProc register_callback
XUnregisterIMInstantiateCBProc unregister_callback
XmbTextListToTextPropertyProc utf8_text_list_to_prop
XmbTextPropertyToTextListProc utf8_text_prop_to_list
XwcFreeStringListProc wc_free_string_list
XwcTextListToTextPropertyProc wc_text_list_to_prop
XwcTextPropertyToTextListProc wc_text_prop_to_list
struct XLCdCoreRec

Definition at line 350 of file Xlcint.h.

Class Members
char * modifiers
char * name
struct _XLCd

Definition at line 356 of file Xlcint.h.

Collaboration diagram for _XLCd:
Class Members
XLCdCore core
XLCdMethods methods
XPointer opaque
struct XlcArg

Definition at line 367 of file Xlcint.h.

Class Members
char * name
XPointer value
struct _XlcResource

Definition at line 372 of file Xlcint.h.

Class Members
unsigned long mask
char * name
int offset
int size
XrmQuark xrm_name
struct _XOMMethodsRec

Definition at line 418 of file Xlcint.h.

Class Members
XCloseOMProc close
XCreateOCProc create_oc
XGetOMValuesProc get_values
XSetOMValuesProc set_values
struct _XOMCoreRec

Definition at line 425 of file Xlcint.h.

Collaboration diagram for _XOMCoreRec:
Class Members
Bool context_dependent
Bool contextual_drawing
Bool directional_dependent
Display * display
XLCd lcd
int num_resources
XOC oc_list
XOMOrientation orientation_list
XrmDatabase rdb
XOMCharSetList required_charset
char * res_class
char * res_name
XlcResourceList resources
struct _XOM

Definition at line 441 of file Xlcint.h.

Collaboration diagram for _XOM:
Class Members
XOMCoreRec core
XOMMethods methods
struct XOCMethodsRec

Definition at line 593 of file Xlcint.h.

Class Members
XDestroyOCProc destroy
XGetOCValuesProc get_values
XmbDrawImageStringProc mb_draw_image_string
XmbDrawStringProc mb_draw_string
XmbTextEscapementProc mb_escapement
XmbTextExtentsProc mb_extents
XmbTextPerCharExtentsProc mb_extents_per_char
XSetOCValuesProc set_values
XmbDrawImageStringProc utf8_draw_image_string
XmbDrawStringProc utf8_draw_string
XmbTextEscapementProc utf8_escapement
XmbTextExtentsProc utf8_extents
XmbTextPerCharExtentsProc utf8_extents_per_char
XwcDrawImageStringProc wc_draw_image_string
XwcDrawStringProc wc_draw_string
XwcTextEscapementProc wc_escapement
XwcTextExtentsProc wc_extents
XwcTextPerCharExtentsProc wc_extents_per_char
struct XOCCoreRec

Definition at line 628 of file Xlcint.h.

Collaboration diagram for XOCCoreRec:
Class Members
char * base_name_list
char * default_string
XOMFontInfo font_info
XFontSetExtents font_set_extents
XOMCharSetList missing_list
XOC next
int num_resources
XOM om
Bool om_automatic
XOrientation orientation
char * res_class
char * res_name
XlcResourceList resources
struct _XOC

Definition at line 644 of file Xlcint.h.

Collaboration diagram for _XOC:
Class Members
XOCCoreRec core
XOCMethods methods
struct XIMCoreRec

Definition at line 705 of file Xlcint.h.

Collaboration diagram for XIMCoreRec:
Class Members
XIMCallback destroy_callback
Display * display
XIC ic_chain
unsigned int ic_num_resources
XIMResourceList ic_resources
XIMValuesList * ic_values_list
char * im_name
unsigned int im_num_resources
XIMResourceList im_resources
XIMValuesList * im_values_list
XLCd lcd
XrmDatabase rdb
char * res_class
char * res_name
XIMStyles * styles
Bool visible_position
struct _XIM

Definition at line 732 of file Xlcint.h.

Collaboration diagram for _XIM:
Class Members
XIMCoreRec core
XIMMethods methods
struct XICCoreRec

Definition at line 809 of file Xlcint.h.

Collaboration diagram for XICCoreRec:
Class Members
Window client_window
XIMCallback destroy_callback
XICCallback destroy_callback
unsigned long filter_events
Window focus_window
XIMCallback geometry_callback
XICCallback geometry_callback
XIMHotKeyTriggers * hotkey
XIMHotKeyState hotkey_state
XIM im
XIMStyle input_style
XIC next
ICPreeditAttributes preedit_attr
char * res_class
char * res_name
XIMResetState reset_state
ICStatusAttributes status_attr
XIMStringConversionText string_conversion
XIMCallback string_conversion_callback
XICCallback string_conversion_callback
struct _XIC

Definition at line 838 of file Xlcint.h.

Collaboration diagram for _XIC:
Class Members
XICCoreRec core
XICMethods methods

Define Documentation

#define XIMNumber (   arr)    ((unsigned int) (sizeof(arr) / sizeof(arr[0])))

Definition at line 110 of file Xlcint.h.

#define XlcCreateMask   (1L<<0)

Definition at line 380 of file Xlcint.h.

#define XlcDefaultMask   (1L<<1)

Definition at line 381 of file Xlcint.h.

#define XlcGetMask   (1L<<2)

Definition at line 382 of file Xlcint.h.

#define XlcHead   0

Definition at line 364 of file Xlcint.h.

#define XlcIgnoreMask   (1L<<4)

Definition at line 384 of file Xlcint.h.

#define XlcNumber (   arr)    (sizeof(arr) / sizeof(arr[0]))

Definition at line 386 of file Xlcint.h.

#define XlcSetMask   (1L<<3)

Definition at line 383 of file Xlcint.h.

#define XlcTail   -1

Definition at line 365 of file Xlcint.h.

#define XOffsetOf (   s_type,
  field 
)    ((unsigned int)&(((s_type*)NULL)->field))

Definition at line 107 of file Xlcint.h.


Typedef Documentation

typedef void(* XCloseLCProc)()

Definition at line 223 of file Xlcint.h.

typedef Status(* XCloseOMProc)()

Definition at line 388 of file Xlcint.h.

typedef XOC(* XCreateOCProc)()

Definition at line 410 of file Xlcint.h.

typedef const char*(* XDefaultStringProc)(XLCd lcd)

Definition at line 327 of file Xlcint.h.

typedef void(* XDestroyOCProc)()

Definition at line 446 of file Xlcint.h.

typedef struct _XIMFilter * XFilterEventList
typedef Bool(* XFilterEventProc)()

Definition at line 81 of file Xlcint.h.

typedef struct _XIMFilter XFilterEventRec
typedef char*(* XGetOCValuesProc)()

Definition at line 460 of file Xlcint.h.

typedef char*(* XGetOMValuesProc)()

Definition at line 402 of file Xlcint.h.

typedef struct XICCoreRec * XICCore
typedef struct XICMethodsRec * XICMethods
typedef struct _XIC XICRec
typedef struct XIMCoreRec * XIMCore
typedef struct XIMMethodsRec * XIMMethods
typedef struct _XIM XIMRec
typedef struct XIMResource * XIMResourceList
typedef struct XlcArg * XlcArgList
typedef struct _XLCd* XLCd

Definition at line 217 of file Xlcint.h.

typedef struct XLCdCoreRec * XLCdCore
typedef XLCd(* XLCdLoadProc)(const char *name)

Definition at line 851 of file Xlcint.h.

typedef struct XLCdMethodsRec * XLCdMethods
typedef struct _XLCd XLCdRec
typedef char*(* XlcMapModifiersProc)()

Definition at line 229 of file Xlcint.h.

typedef const char*(* XlcNameProc)(XPointer state)

Definition at line 195 of file Xlcint.h.

typedef int XlcPosition

Definition at line 362 of file Xlcint.h.

typedef struct _XlcResource XlcResource
typedef struct _XlcResource * XlcResourceList
typedef char(* XmbCharProc)(XPointer state, const char *str, int *lenp)

Definition at line 183 of file Xlcint.h.

typedef void(* XmbDrawImageStringProc)()

Definition at line 522 of file Xlcint.h.

typedef int(* XmbDrawStringProc)()

Definition at line 509 of file Xlcint.h.

typedef void(* XmbFinishProc)(XPointer state)

Definition at line 190 of file Xlcint.h.

typedef void(* XmbInitProc)(XPointer state)

Definition at line 176 of file Xlcint.h.

typedef int(* XmbTextEscapementProc)()

Definition at line 477 of file Xlcint.h.

typedef int(* XmbTextExtentsProc)()

Definition at line 485 of file Xlcint.h.

typedef int(* XmbTextListToTextPropertyProc)(XLCd lcd, Display *display, char **list, int count, XICCEncodingStyle style, XTextProperty *text_prop_return)

Definition at line 304 of file Xlcint.h.

typedef Status(* XmbTextPerCharExtentsProc)()

Definition at line 495 of file Xlcint.h.

typedef int(* XmbTextPropertyToTextListProc)(XLCd lcd, Display *display, const XTextProperty *text_prop, char ***list_return, int *count_return)

Definition at line 288 of file Xlcint.h.

typedef struct XOCCoreRec * XOCCore
typedef struct XOCMethodsRec * XOCMethods
typedef struct _XOC XOCRec
typedef struct _XOMCoreRec * XOMCore
typedef struct _XOMCoreRec XOMCoreRec
typedef struct _XOMMethodsRec * XOMMethods
typedef struct _XOMMethodsRec XOMMethodsRec
typedef struct _XOM XOMRec
typedef XIM(* XOpenIMProc)()

Definition at line 247 of file Xlcint.h.

typedef XOM(* XOpenOMProc)()

Definition at line 237 of file Xlcint.h.

Definition at line 257 of file Xlcint.h.

typedef void(* XrmDestroyProc)(XPointer state)

Definition at line 201 of file Xlcint.h.

Definition at line 281 of file Xlcint.h.

typedef const XrmMethodsRec* XrmMethods

Definition at line 213 of file Xlcint.h.

typedef char*(* XSetOCValuesProc)()

Definition at line 452 of file Xlcint.h.

typedef char*(* XSetOMValuesProc)()

Definition at line 394 of file Xlcint.h.

Definition at line 269 of file Xlcint.h.

typedef void(* XwcDrawImageStringProc)()

Definition at line 580 of file Xlcint.h.

typedef int(* XwcDrawStringProc)()

Definition at line 567 of file Xlcint.h.

typedef void(* XwcFreeStringListProc)(XLCd lcd, wchar_t **list)

Definition at line 322 of file Xlcint.h.

typedef int(* XwcTextEscapementProc)()

Definition at line 535 of file Xlcint.h.

typedef int(* XwcTextExtentsProc)()

Definition at line 543 of file Xlcint.h.

typedef int(* XwcTextListToTextPropertyProc)(XLCd lcd, Display *display, wchar_t **list, int count, XICCEncodingStyle style, XTextProperty *text_prop_return)

Definition at line 313 of file Xlcint.h.

typedef Status(* XwcTextPerCharExtentsProc)()

Definition at line 553 of file Xlcint.h.

typedef int(* XwcTextPropertyToTextListProc)(XLCd lcd, Display *display, const XTextProperty *text_prop, wchar_t ***list_return, int *count_return)

Definition at line 296 of file Xlcint.h.


Function Documentation

void _XCloseLC ( XLCd  lcd)
void _XCopyToArg ( )
Bool _XlcAddLoader ( XLCdLoadProc  proc,
XlcPosition  position 
)
void _XlcAddUtf8Converters ( XLCd  lcd)
void _XlcCompileResourceList ( XlcResourceList  resources,
int  num_resources 
)
void _XlcCountVaList ( va_list  var,
int *  count_return 
)
XLCd _XlcCurrentLC ( void  )
XLCd _XlcDefaultLoader ( const char *  name)
char* _XlcDefaultMapModifiers ( XLCd  lcd,
_Xconst char *  user_mods,
_Xconst char *  prog_mods 
)
XLCd _XlcDynamicLoad ( const char *  name)
XLCd _XlcDynamicLoader ( const char *  name)
XLCd _XlcEucLoader ( const char *  name)
XLCd _XlcGenericLoader ( const char *  name)
char* _XlcGetValues ( XPointer  base,
XlcResourceList  resources,
int  num_resources,
XlcArgList  args,
int  num_args,
unsigned long  mask 
)
void _XlcInitLoader ( void  )
XLCd _XlcJisLoader ( const char *  name)
char* _XlcSetValues ( XPointer  base,
XlcResourceList  resources,
int  num_resources,
XlcArgList  args,
int  num_args,
unsigned long  mask 
)
XLCd _XlcSjisLoader ( const char *  name)
XLCd _XlcUtf8Loader ( const char *  name)
Bool _XlcValidModSyntax ( const char *  mods,
const char *const *  valid 
)
void _XlcVaToArgList ( va_list  var,
int  count,
XlcArgList args_return 
)
_XFUNCPROTOBEGIN XLCd _XOpenLC ( const char *  name)