engine: fix call out
[transsip.git] / src / call-notifier.h
blob51bd51d36244e37752e06a151bb09314588e9ea6
1 #ifndef CHAINS_H
2 #define CHAINS_H
4 #include "notifier.h"
6 #define CALL_STATE_MACHINE_CHANGED 1
8 # define CALL_STATE_MACHINE_IDLE 0
9 # define CALL_STATE_MACHINE_CALLOUT 1
10 # define CALL_STATE_MACHINE_CALLIN 2
11 # define CALL_STATE_MACHINE_SPEAKING 3
13 extern void init_call_notifier(void);
14 extern int register_call_notifier(struct event_block *block);
15 extern int register_call_notifier_once(struct event_block *block);
16 extern int unregister_call_notifier(struct event_block *block);
17 extern int call_notifier_exec(unsigned long event, const void *arg);
19 #endif