Back to index

im-sdk  12.3.91
Classes | Defines | Typedefs | Enumerations
SunIMMthd.h File Reference
#include <stdio.h>
#include <sys/types.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
#include "IMProtocolStruct.h"
#include <pthread.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _iml_nsc
struct  _iml_listener
struct  _iml_desktop_t
struct  _iml_methods
struct  _if_methods
struct  _hotkey_manager
struct  _iml_if_t

Defines

#define MAX_UI_ATTRIBUTE   UI_AUTH_PASSWD
#define UI_PROTOCOL_TYPE_IIIMP   "IIIMP"
#define UI_PROTOCOL_TYPE_XIMP   "XIMP"
#define UI_PROTOCOL_TYPE_XIMCP   "XIMCP"
#define UI_CLIENT_TYPE_JAVA   "JAVA"
#define UI_CLIENT_TYPE_X   "X"
#define UI_CLIENT_TYPE_UNKNOWN   "Unknown"

Typedefs

typedef struct _iml_nsciml_nsc_t
typedef struct _iml_desktop_timl_desktop_list
typedef struct _iml_sessioniml_session
typedef struct _iml_if_timl_if
typedef struct _iml_aux * iml_aux
typedef iml_session iml_session_list
typedef struct _iml_nsc iml_nsc
typedef int listener_id_t
typedef struct _iml_listener iml_listener_t
typedef iml_listener_timl_listener_list
typedef struct _iml_desktop_t iml_desktop_t
typedef struct _iml_methods iml_methods_t
typedef struct _if_methods if_methods_t
typedef struct _hotkey_manager iml_hotkey_manager_t
typedef struct _iml_if_t iml_if_t

Enumerations

enum  IF_Attribute {
  IF_VERSION = 1, IF_METHOD_TABLE, IF_LE_NAME, IF_SUPPORTED_LOCALES,
  IF_SUPPORTED_OBJECTS, IF_NEED_THREAD_LOCK, IF_EIMIL_HANDLE = 0x100, IF_SUPPORTED_KEYRELEASE,
  IF_SUPPORTED_IMEINFO, IF_VERSION = 1, IF_METHOD_TABLE, IF_LE_NAME,
  IF_SUPPORTED_LOCALES, IF_SUPPORTED_OBJECTS, IF_SUPPORTED_HOTKEY_PROFILE, IF_NEED_THREAD_LOCK,
  IF_EIMIL_HANDLE = 0x100, IF_VERSION = 1, IF_METHOD_TABLE, IF_LE_NAME,
  IF_SUPPORTED_LOCALES, IF_SUPPORTED_OBJECTS, IF_NEED_THREAD_LOCK, IF_EIMIL_HANDLE = 0x100,
  IF_SUPPORTED_KEYRELEASE, IF_SUPPORTED_IMEINFO, IF_VERSION = 1, IF_METHOD_TABLE,
  IF_LE_NAME, IF_SUPPORTED_LOCALES, IF_SUPPORTED_OBJECTS, IF_NEED_THREAD_LOCK,
  IF_VERSION = 1, IF_METHOD_TABLE, IF_LE_NAME, IF_SUPPORTED_LOCALES,
  IF_SUPPORTED_OBJECTS, IF_SUPPORTED_HOTKEY_PROFILE, IF_NEED_THREAD_LOCK, IF_EIMIL_HANDLE = 0x100,
  IF_SUPPORTED_KEYRELEASE, IF_SUPPORTED_IMEINFO, IF_VERSION = 1, IF_METHOD_TABLE,
  IF_LE_NAME, IF_SUPPORTED_LOCALES, IF_SUPPORTED_OBJECTS, IF_SUPPORTED_HOTKEY_PROFILE,
  IF_NEED_THREAD_LOCK, IF_EIMIL_HANDLE = 0x100
}
enum  SC_Attribute {
  SC_REALIZE = 1, SC_TRIGGER_ON_NOTIFY, SC_TRIGGER_OFF_NOTIFY, SC_SUPPORTED_CHARACTER_SUBSETS,
  SC_PREFERED_OBJECTS = 64, SC_SUPPORTED_CLASSES = 65, SC_LOOKUP_NROWS = 100, SC_LOOKUP_NCOLS,
  SC_LOOKUP_LABELTYPE, SC_CLIENT_LOCALE = 200, SC_CLIENT_CHARACTER_SUBSETS, SC_CLIENT_INPUT_METHOD_NAME,
  SC_CLIENT_INPUT_METHOD_ENGINE, SC_REALIZE = 1, SC_TRIGGER_ON_NOTIFY, SC_TRIGGER_OFF_NOTIFY,
  SC_SUPPORTED_CHARACTER_SUBSETS, SC_PREFERED_OBJECTS = 64, SC_SUPPORTED_CLASSES = 65, SC_LOOKUP_NROWS = 100,
  SC_LOOKUP_NCOLS, SC_LOOKUP_LABELTYPE, SC_CLIENT_LOCALE = 200, SC_CLIENT_CHARACTER_SUBSETS,
  SC_CLIENT_INPUT_METHOD_NAME, SC_REALIZE = 1, SC_TRIGGER_ON_NOTIFY, SC_TRIGGER_OFF_NOTIFY,
  SC_SUPPORTED_CHARACTER_SUBSETS, SC_PREFERED_OBJECTS = 64, SC_SUPPORTED_CLASSES = 65, SC_LOOKUP_NROWS = 100,
  SC_LOOKUP_NCOLS, SC_LOOKUP_LABELTYPE, SC_CLIENT_LOCALE = 200, SC_CLIENT_CHARACTER_SUBSETS,
  SC_CLIENT_INPUT_METHOD_NAME, SC_CLIENT_INPUT_METHOD_ENGINE, SC_REALIZE = 1, SC_TRIGGER_ON_NOTIFY,
  SC_TRIGGER_OFF_NOTIFY, SC_SUPPORTED_CHARACTER_SUBSETS, SC_LOOKUP_NROWS = 100, SC_LOOKUP_NCOLS,
  SC_LOOKUP_LABELTYPE, SC_REALIZE = 1, SC_TRIGGER_ON_NOTIFY, SC_TRIGGER_OFF_NOTIFY,
  SC_SUPPORTED_CHARACTER_SUBSETS, SC_PREFERED_OBJECTS = 64, SC_SUPPORTED_CLASSES = 65, SC_LOOKUP_NROWS = 100,
  SC_LOOKUP_NCOLS, SC_LOOKUP_LABELTYPE, SC_CLIENT_LOCALE = 200, SC_CLIENT_CHARACTER_SUBSETS,
  SC_CLIENT_INPUT_METHOD_NAME, SC_CLIENT_INPUT_METHOD_ENGINE, SC_REALIZE = 1, SC_TRIGGER_ON_NOTIFY,
  SC_TRIGGER_OFF_NOTIFY, SC_SUPPORTED_CHARACTER_SUBSETS, SC_PREFERED_OBJECTS = 64, SC_SUPPORTED_CLASSES = 65,
  SC_LOOKUP_NROWS = 100, SC_LOOKUP_NCOLS, SC_LOOKUP_LABELTYPE, SC_CLIENT_LOCALE = 200,
  SC_CLIENT_CHARACTER_SUBSETS, SC_CLIENT_INPUT_METHOD_NAME
}
enum  UI_Attribute {
  UI_USER_NAME = 1, UI_HOST_NAME, UI_DISPLAY_ID, UI_PROTOCOL_TYPE,
  UI_CLIENT_TYPE, UI_OS_NAME, UI_OS_ARCH, UI_OS_VERSION,
  UI_XSERVER_VENDOR, UI_AUTH_PASSWD, UI_USER_NAME = 1, UI_HOST_NAME,
  UI_DISPLAY_ID, UI_PROTOCOL_TYPE, UI_CLIENT_TYPE, UI_OS_NAME,
  UI_OS_ARCH, UI_OS_VERSION, UI_XSERVER_VENDOR, UI_AUTH_PASSWD,
  UI_USER_NAME = 1, UI_HOST_NAME, UI_DISPLAY_ID, UI_PROTOCOL_TYPE,
  UI_CLIENT_TYPE, UI_OS_NAME, UI_OS_ARCH, UI_OS_VERSION,
  UI_XSERVER_VENDOR, UI_AUTH_PASSWD, UI_USER_NAME = 1, UI_HOST_NAME,
  UI_DISPLAY_ID, UI_PROTOCOL_TYPE, UI_CLIENT_TYPE, UI_OS_NAME,
  UI_OS_ARCH, UI_OS_VERSION, UI_XSERVER_VENDOR, UI_AUTH_PASSWD,
  UI_USER_NAME = 1, UI_HOST_NAME, UI_DISPLAY_ID, UI_PROTOCOL_TYPE,
  UI_CLIENT_TYPE, UI_OS_NAME, UI_OS_ARCH, UI_OS_VERSION,
  UI_XSERVER_VENDOR, UI_AUTH_PASSWD, UI_USER_NAME = 1, UI_HOST_NAME,
  UI_DISPLAY_ID, UI_PROTOCOL_TYPE, UI_CLIENT_TYPE, UI_OS_NAME,
  UI_OS_ARCH, UI_OS_VERSION, UI_XSERVER_VENDOR, UI_AUTH_PASSWD
}

Define Documentation

Definition at line 320 of file SunIMMthd.h.

#define UI_CLIENT_TYPE_JAVA   "JAVA"

Definition at line 326 of file SunIMMthd.h.

#define UI_CLIENT_TYPE_UNKNOWN   "Unknown"

Definition at line 328 of file SunIMMthd.h.

#define UI_CLIENT_TYPE_X   "X"

Definition at line 327 of file SunIMMthd.h.

#define UI_PROTOCOL_TYPE_IIIMP   "IIIMP"

Definition at line 322 of file SunIMMthd.h.

#define UI_PROTOCOL_TYPE_XIMCP   "XIMCP"

Definition at line 324 of file SunIMMthd.h.

#define UI_PROTOCOL_TYPE_XIMP   "XIMP"

Definition at line 323 of file SunIMMthd.h.


Typedef Documentation

typedef struct _if_methods if_methods_t
typedef struct _iml_aux* iml_aux

Definition at line 69 of file SunIMMthd.h.

Definition at line 66 of file SunIMMthd.h.

typedef struct _iml_desktop_t iml_desktop_t
typedef struct _iml_if_t* iml_if

Definition at line 68 of file SunIMMthd.h.

typedef struct _iml_if_t iml_if_t

Definition at line 116 of file SunIMMthd.h.

typedef struct _iml_listener iml_listener_t
typedef struct _iml_methods iml_methods_t
typedef struct _iml_nsc iml_nsc
typedef struct _iml_nsc* iml_nsc_t

Definition at line 65 of file SunIMMthd.h.

typedef struct _iml_session* iml_session

Definition at line 67 of file SunIMMthd.h.

Definition at line 70 of file SunIMMthd.h.

typedef int listener_id_t

Definition at line 101 of file SunIMMthd.h.


Enumeration Type Documentation

Enumerator:
IF_VERSION 
IF_METHOD_TABLE 
IF_LE_NAME 
IF_SUPPORTED_LOCALES 
IF_SUPPORTED_OBJECTS 
IF_NEED_THREAD_LOCK 
IF_EIMIL_HANDLE 
IF_SUPPORTED_KEYRELEASE 
IF_SUPPORTED_IMEINFO 
IF_VERSION 
IF_METHOD_TABLE 
IF_LE_NAME 
IF_SUPPORTED_LOCALES 
IF_SUPPORTED_OBJECTS 
IF_SUPPORTED_HOTKEY_PROFILE 
IF_NEED_THREAD_LOCK 
IF_EIMIL_HANDLE 
IF_VERSION 
IF_METHOD_TABLE 
IF_LE_NAME 
IF_SUPPORTED_LOCALES 
IF_SUPPORTED_OBJECTS 
IF_NEED_THREAD_LOCK 
IF_EIMIL_HANDLE 
IF_SUPPORTED_KEYRELEASE 
IF_SUPPORTED_IMEINFO 
IF_VERSION 
IF_METHOD_TABLE 
IF_LE_NAME 
IF_SUPPORTED_LOCALES 
IF_SUPPORTED_OBJECTS 
IF_NEED_THREAD_LOCK 
IF_VERSION 
IF_METHOD_TABLE 
IF_LE_NAME 
IF_SUPPORTED_LOCALES 
IF_SUPPORTED_OBJECTS 
IF_SUPPORTED_HOTKEY_PROFILE 
IF_NEED_THREAD_LOCK 
IF_EIMIL_HANDLE 
IF_SUPPORTED_KEYRELEASE 
IF_SUPPORTED_IMEINFO 
IF_VERSION 
IF_METHOD_TABLE 
IF_LE_NAME 
IF_SUPPORTED_LOCALES 
IF_SUPPORTED_OBJECTS 
IF_SUPPORTED_HOTKEY_PROFILE 
IF_NEED_THREAD_LOCK 
IF_EIMIL_HANDLE 

Definition at line 266 of file SunIMMthd.h.

             {
       IF_VERSION = 1,
       IF_METHOD_TABLE,
       IF_LE_NAME,
       IF_SUPPORTED_LOCALES,
       IF_SUPPORTED_OBJECTS,
       IF_SUPPORTED_HOTKEY_PROFILE,
#ifdef USE_SUNIM_ADAPTER
       IF_NEED_THREAD_LOCK,
       IF_HAVE_LOCALE_DEPENDENCY,
#else  /* USE_SUNIM_ADAPTER */
       IF_NEED_THREAD_LOCK,
#endif /* USE_SUNIM_ADAPTER */

       /* EIMIL extension */
       IF_EIMIL_HANDLE = 0x100,

       /* LE extension */
       IF_SUPPORTED_KEYRELEASE,
       IF_SUPPORTED_IMEINFO

}   IF_Attribute;
Enumerator:
SC_REALIZE 
SC_TRIGGER_ON_NOTIFY 
SC_TRIGGER_OFF_NOTIFY 
SC_SUPPORTED_CHARACTER_SUBSETS 
SC_PREFERED_OBJECTS 
SC_SUPPORTED_CLASSES 
SC_LOOKUP_NROWS 
SC_LOOKUP_NCOLS 
SC_LOOKUP_LABELTYPE 
SC_CLIENT_LOCALE 
SC_CLIENT_CHARACTER_SUBSETS 
SC_CLIENT_INPUT_METHOD_NAME 
SC_CLIENT_INPUT_METHOD_ENGINE 
SC_REALIZE 
SC_TRIGGER_ON_NOTIFY 
SC_TRIGGER_OFF_NOTIFY 
SC_SUPPORTED_CHARACTER_SUBSETS 
SC_PREFERED_OBJECTS 
SC_SUPPORTED_CLASSES 
SC_LOOKUP_NROWS 
SC_LOOKUP_NCOLS 
SC_LOOKUP_LABELTYPE 
SC_CLIENT_LOCALE 
SC_CLIENT_CHARACTER_SUBSETS 
SC_CLIENT_INPUT_METHOD_NAME 
SC_REALIZE 
SC_TRIGGER_ON_NOTIFY 
SC_TRIGGER_OFF_NOTIFY 
SC_SUPPORTED_CHARACTER_SUBSETS 
SC_PREFERED_OBJECTS 
SC_SUPPORTED_CLASSES 
SC_LOOKUP_NROWS 
SC_LOOKUP_NCOLS 
SC_LOOKUP_LABELTYPE 
SC_CLIENT_LOCALE 
SC_CLIENT_CHARACTER_SUBSETS 
SC_CLIENT_INPUT_METHOD_NAME 
SC_CLIENT_INPUT_METHOD_ENGINE 
SC_REALIZE 
SC_TRIGGER_ON_NOTIFY 
SC_TRIGGER_OFF_NOTIFY 
SC_SUPPORTED_CHARACTER_SUBSETS 
SC_LOOKUP_NROWS 
SC_LOOKUP_NCOLS 
SC_LOOKUP_LABELTYPE 
SC_REALIZE 
SC_TRIGGER_ON_NOTIFY 
SC_TRIGGER_OFF_NOTIFY 
SC_SUPPORTED_CHARACTER_SUBSETS 
SC_PREFERED_OBJECTS 
SC_SUPPORTED_CLASSES 
SC_LOOKUP_NROWS 
SC_LOOKUP_NCOLS 
SC_LOOKUP_LABELTYPE 
SC_CLIENT_LOCALE 
SC_CLIENT_CHARACTER_SUBSETS 
SC_CLIENT_INPUT_METHOD_NAME 
SC_CLIENT_INPUT_METHOD_ENGINE 
SC_REALIZE 
SC_TRIGGER_ON_NOTIFY 
SC_TRIGGER_OFF_NOTIFY 
SC_SUPPORTED_CHARACTER_SUBSETS 
SC_PREFERED_OBJECTS 
SC_SUPPORTED_CLASSES 
SC_LOOKUP_NROWS 
SC_LOOKUP_NCOLS 
SC_LOOKUP_LABELTYPE 
SC_CLIENT_LOCALE 
SC_CLIENT_CHARACTER_SUBSETS 
SC_CLIENT_INPUT_METHOD_NAME 

Definition at line 289 of file SunIMMthd.h.

Enumerator:
UI_USER_NAME 
UI_HOST_NAME 
UI_DISPLAY_ID 
UI_PROTOCOL_TYPE 
UI_CLIENT_TYPE 
UI_OS_NAME 
UI_OS_ARCH 
UI_OS_VERSION 
UI_XSERVER_VENDOR 
UI_AUTH_PASSWD 
UI_USER_NAME 
UI_HOST_NAME 
UI_DISPLAY_ID 
UI_PROTOCOL_TYPE 
UI_CLIENT_TYPE 
UI_OS_NAME 
UI_OS_ARCH 
UI_OS_VERSION 
UI_XSERVER_VENDOR 
UI_AUTH_PASSWD 
UI_USER_NAME 
UI_HOST_NAME 
UI_DISPLAY_ID 
UI_PROTOCOL_TYPE 
UI_CLIENT_TYPE 
UI_OS_NAME 
UI_OS_ARCH 
UI_OS_VERSION 
UI_XSERVER_VENDOR 
UI_AUTH_PASSWD 
UI_USER_NAME 
UI_HOST_NAME 
UI_DISPLAY_ID 
UI_PROTOCOL_TYPE 
UI_CLIENT_TYPE 
UI_OS_NAME 
UI_OS_ARCH 
UI_OS_VERSION 
UI_XSERVER_VENDOR 
UI_AUTH_PASSWD 
UI_USER_NAME 
UI_HOST_NAME 
UI_DISPLAY_ID 
UI_PROTOCOL_TYPE 
UI_CLIENT_TYPE 
UI_OS_NAME 
UI_OS_ARCH 
UI_OS_VERSION 
UI_XSERVER_VENDOR 
UI_AUTH_PASSWD 
UI_USER_NAME 
UI_HOST_NAME 
UI_DISPLAY_ID 
UI_PROTOCOL_TYPE 
UI_CLIENT_TYPE 
UI_OS_NAME 
UI_OS_ARCH 
UI_OS_VERSION 
UI_XSERVER_VENDOR 
UI_AUTH_PASSWD 

Definition at line 307 of file SunIMMthd.h.