Back to index

im-sdk  12.3.91
iiimp-message.h
Go to the documentation of this file.
00001 #if !defined(IIIMP_MESSAGE_H)
00002 #define IIIMP_MESSAGE_H
00003 
00004 
00005 #include <iiimp-data.h>
00006 
00007 #ifdef __cplusplus
00008 extern "C" {
00009 #endif
00010 
00011 
00012 /* prototype of message free function */
00013 
00014 typedef void  (* IIIMP_message_delete_func)(IIIMP_data_s * data_s, IIIMP_message * m);
00015 
00016 extern void   iiimp_invalid_message_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00017 extern void   iiimp_connect_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00018 extern void   iiimp_connect_reply_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00019 extern void   iiimp_simple_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00020 extern void   iiimp_register_trigger_keys_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00021 extern void   iiimp_trigger_notify_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00022 extern void   iiimp_register_hotkeys_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00023 extern void   iiimp_hotkey_notify_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00024 extern void   iiimp_hotkey_state_notify_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00025 extern void   iiimp_select_hotkey_profile_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00026 extern void   iiimp_file_operation_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00027 extern void   iiimp_file_operation_reply_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00028 extern void   iiimp_setimvalues_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00029 extern void   iiimp_getimvalues_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00030 extern void   iiimp_getimvalues_reply_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00031 extern void   iiimp_forward_event_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00032 extern void   iiimp_commit_string_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00033 extern void   iiimp_forward_event_with_operations_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00034 extern void   iiimp_forward_event_with_operations_reply_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00035 extern void   iiimp_createic_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00036 extern void   iiimp_seticvalues_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00037 extern void   iiimp_geticvalues_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00038 extern void   iiimp_geticvalues_reply_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00039 extern void   iiimp_preedit_start_reply_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00040 extern void   iiimp_preedit_draw_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00041 extern void   iiimp_status_draw_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00042 extern void   iiimp_lookup_choice_start_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00043 extern void   iiimp_lookup_choice_draw_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00044 extern void   iiimp_lookup_choice_process_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00045 extern void   iiimp_aux_simple_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00046 extern void   iiimp_aux_value_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00047 extern void   iiimp_protocol_version_delete(IIIMP_data_s * data_s, IIIMP_message * m);
00048 
00049 
00050 /* prototype of message unpack function */
00051 
00052 #define IIIMP_UNPACK_ARGS \
00053        IIIMP_data_s *              data_s, \
00054        IIIMP_card7          opcode, \
00055        size_t *             nbyte, \
00056        const uchar_t **     ptr
00057 
00058 typedef IIIMP_message * (* IIIMP_message_unpack_func)(IIIMP_UNPACK_ARGS);
00059 
00060 extern IIIMP_message *      iiimp_invalid_message_unpack(IIIMP_UNPACK_ARGS);
00061 extern IIIMP_message *      iiimp_connect_unpack(IIIMP_UNPACK_ARGS);
00062 extern IIIMP_message *      iiimp_connect_reply_unpack(IIIMP_UNPACK_ARGS);
00063 extern IIIMP_message *      iiimp_simple_unpack(IIIMP_UNPACK_ARGS);
00064 extern IIIMP_message *      iiimp_simple_im_unpack(IIIMP_UNPACK_ARGS);
00065 extern IIIMP_message *      iiimp_register_trigger_keys_unpack(IIIMP_UNPACK_ARGS);
00066 extern IIIMP_message *      iiimp_trigger_notify_unpack(IIIMP_UNPACK_ARGS);
00067 extern IIIMP_message *      iiimp_register_hotkeys_unpack(IIIMP_UNPACK_ARGS);
00068 extern IIIMP_message *      iiimp_hotkey_notify_unpack(IIIMP_UNPACK_ARGS);
00069 extern IIIMP_message *      iiimp_hotkey_state_notify_unpack(IIIMP_UNPACK_ARGS);
00070 extern IIIMP_message *      iiimp_select_hotkey_profile_unpack(IIIMP_UNPACK_ARGS);
00071 extern IIIMP_message *      iiimp_file_operation_unpack(IIIMP_UNPACK_ARGS);
00072 extern IIIMP_message *      iiimp_file_operation_reply_unpack(IIIMP_UNPACK_ARGS);
00073 extern IIIMP_message *      iiimp_setimvalues_unpack(IIIMP_UNPACK_ARGS);
00074 extern IIIMP_message *      iiimp_getimvalues_unpack(IIIMP_UNPACK_ARGS);
00075 extern IIIMP_message *      iiimp_getimvalues_reply_unpack(IIIMP_UNPACK_ARGS);
00076 extern IIIMP_message *      iiimp_forward_event_unpack(IIIMP_UNPACK_ARGS);
00077 extern IIIMP_message *      iiimp_commit_string_unpack(IIIMP_UNPACK_ARGS);
00078 extern IIIMP_message *      iiimp_forward_event_with_operations_unpack(IIIMP_UNPACK_ARGS);
00079 extern IIIMP_message *      iiimp_forward_event_with_operations_reply_unpack(IIIMP_UNPACK_ARGS);
00080 extern IIIMP_message *      iiimp_invalid_message_unpack(IIIMP_UNPACK_ARGS);
00081 extern IIIMP_message *      iiimp_invalid_message_unpack(IIIMP_UNPACK_ARGS);
00082 extern IIIMP_message *      iiimp_invalid_message_unpack(IIIMP_UNPACK_ARGS);
00083 extern IIIMP_message *      iiimp_createic_unpack(IIIMP_UNPACK_ARGS);
00084 extern IIIMP_message *      iiimp_seticvalues_unpack(IIIMP_UNPACK_ARGS);
00085 extern IIIMP_message *      iiimp_geticvalues_unpack(IIIMP_UNPACK_ARGS);
00086 extern IIIMP_message *      iiimp_geticvalues_reply_unpack(IIIMP_UNPACK_ARGS);
00087 extern IIIMP_message *      iiimp_preedit_start_reply_unpack(IIIMP_UNPACK_ARGS);
00088 extern IIIMP_message *      iiimp_preedit_draw_unpack(IIIMP_UNPACK_ARGS);
00089 extern IIIMP_message *      iiimp_invalid_message_unpack(IIIMP_UNPACK_ARGS);
00090 extern IIIMP_message *      iiimp_invalid_message_unpack(IIIMP_UNPACK_ARGS);
00091 extern IIIMP_message *      iiimp_status_draw_unpack(IIIMP_UNPACK_ARGS);
00092 extern IIIMP_message *      iiimp_lookup_choice_start_unpack(IIIMP_UNPACK_ARGS);
00093 extern IIIMP_message *      iiimp_lookup_choice_draw_unpack(IIIMP_UNPACK_ARGS);
00094 extern IIIMP_message *      iiimp_lookup_choice_process_unpack(IIIMP_UNPACK_ARGS);
00095 extern IIIMP_message *      iiimp_aux_value_unpack(IIIMP_UNPACK_ARGS);
00096 extern IIIMP_message *      iiimp_aux_simple_unpack(IIIMP_UNPACK_ARGS);
00097 extern IIIMP_message *      iiimp_protocol_version_unpack(IIIMP_UNPACK_ARGS);
00098 
00099 #undef IIIMP_UNPACK_ARGS
00100 
00101 
00102 #ifdef __cplusplus
00103 }
00104 #endif
00105 
00106 #endif /* !IIIMP_MESSAGE_H */
00107 
00108 
00109 /* Local Variables: */
00110 /* c-file-style: "iiim-project" */
00111 /* End: */