mirror of
https://github.com/siemens-mobile-hacks/siemens-process-library.git
synced 2026-11-25 23:57:42 +00:00
22 lines
295 B
C
22 lines
295 B
C
|
|
#ifndef __MESS_HOOK_H__
|
|
#define __MESS_HOOK_H__
|
|
|
|
|
|
#include <swilib.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void (*message_handler_t)(CSM_RAM *data, GBS_MSG *msg);
|
|
|
|
int createMessageHook(message_handler_t h);
|
|
int deleteMessageHook(int id);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|