summaryrefslogtreecommitdiff
path: root/src/bin/e_msg.h
blob: 78483312f2b990714d384b2ec8f6a6ca83745817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifdef E_TYPEDEFS

typedef struct _E_Msg_Handler E_Msg_Handler;

#else
#ifndef E_MSG_H
#define E_MSG_H

EAPI int            e_msg_init(void);
EAPI int            e_msg_shutdown(void);

EAPI void           e_msg_send(const char *name, const char *info, int val, E_Object *obj, void *msgdata, void (*afterfunc) (void *data, E_Object *obj, void *msgdata), void *afterdata);
EAPI E_Msg_Handler *e_msg_handler_add(void (*func) (void *data, const char *name, const char *info, int val, E_Object *obj, void *msgdata), void *data);
EAPI void           e_msg_handler_del(E_Msg_Handler *emsgh);

#endif
#endif