Back to index

im-sdk  12.3.91
sequence.h
Go to the documentation of this file.
00001 #if !defined(IIIMF_SEQUENCE_H)
00002 #define IIIMF_SEQUENCE_H
00003 
00004 
00005 #include <iiimp-data.h>
00006 #include <iiimp.h>
00007 
00008 
00009 #ifdef __cplusplus
00010 extern "C" {
00011 #endif
00012 
00013 
00014 #define IIIMF_MESSAGE_ATTR_ACTIVE_MASK                  (0x000FFF00)
00015 #define IIIMF_MESSAGE_ATTR_SEND                         (0x00000000)
00016 #define IIIMF_MESSAGE_ATTR_RECEIVE               (0x00000001)
00017 #define IIIMF_MESSAGE_ATTR_ROLE_DIRECTION_MASK          (0x00000001)
00018 #define IIIMF_MESSAGE_ATTR_NONE                         (0x00000000)
00019 #define IIIMF_MESSAGE_ATTR_ROLE_CLIENT                  (0x00000000)
00020 #define IIIMF_MESSAGE_ATTR_ROLE_SERVER                  (0x00000001)
00021 #define IIIMF_MESSAGE_ATTR_ROLE_BOTH                    (0x00000002)
00022 #define IIIMF_MESSAGE_ATTR_REQUEST               (0x00000010)
00023 #define IIIMF_MESSAGE_ATTR_REPLY                 (0x00000020)
00024 #define IIIMF_MESSAGE_ATTR_NO_REPLY                     (0x00000040)
00025 #define IIIMF_MESSAGE_ATTR_IM_ACTIVE                    (0x00000100)
00026 #define IIIMF_MESSAGE_ATTR_IM_IM_CONNECT         (0x00000200)
00027 #define IIIMF_MESSAGE_ATTR_IC_ACTIVE                    (0x00001000)
00028 #define IIIMF_MESSAGE_ATTR_STATUS_ACTIVE         (0x00002000)
00029 #define IIIMF_MESSAGE_ATTR_PREEDIT_ACTIVE        (0x00004000)
00030 #define IIIMF_MESSAGE_ATTR_LOOKUP_CHOICE_ACTIVE         (0x00008000)
00031 #define IIIMF_MESSAGE_ATTR_AUX_ACTIVE                   (0x00010000)
00032 
00033 
00034 typedef struct {
00035     int              opcode;
00036     int              direction;
00037 } IIIMF_message_pending;
00038 
00039 
00040 extern IIIMF_status  iiimf_message_sequence(IIIMF_im *  im,
00041                                           IIIMF_ic *    ic,
00042                                           IIIMP_message *      message,
00043                                           int           direction);
00044 
00045 
00046 #ifdef __cplusplus
00047 }
00048 #endif
00049 
00050 #endif /* !IIIMF_SEQUENCE_H */
00051 
00052 
00053 /* Local Variables: */
00054 /* c-file-style: "iiim-project" */
00055 /* End: */