Back to index

im-sdk  12.3.91
handler.h
Go to the documentation of this file.
00001 #if !defined(IIIMF_HANDLER_H)
00002 #define IIIMF_HANDLER_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 struct iiimf_message_handler_entry {
00015     char *                                name;
00016     IIIMF_message_handler                 proc;
00017     struct iiimf_message_handler_entry *  next;
00018 };
00019 
00020 extern IIIMF_status  iiimf_message_handler_entry_new(
00021                             IIIMF_message_handler_entry ***    entry_ret);
00022 
00023 extern void          iiimf_message_handler_entry_delete(
00024                             IIIMF_message_handler_entry **     entry);
00025 
00026 extern void          iiimf_message_handler_entry_item_delete(
00027                             IIIMF_message_handler_entry *      enty);
00028 
00029 
00030 extern IIIMF_status  iiimf_message_handler_call(
00031                             IIIMF_im *    im,
00032                             IIIMP_message *      message);
00033 
00034 
00035 #ifdef __cplusplus
00036 }
00037 #endif
00038 
00039 #endif /* !IIIMF_HANDLER_H */
00040 
00041 
00042 /* Local Variables: */
00043 /* c-file-style: "iiim-project" */
00044 /* End: */