Rev 2872 | Rev 2874 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2871 | svoboda | 1 | /** @addtogroup sctrace |
2 | * @{ |
||
3 | */ |
||
4 | /** @file |
||
5 | */ |
||
6 | |||
7 | #ifndef IPC_H_ |
||
8 | #define IPC_H_ |
||
9 | |||
10 | #include <ipc/ipc.h> |
||
2873 | svoboda | 11 | #include "proto.h" |
2871 | svoboda | 12 | |
2873 | svoboda | 13 | typedef struct { |
14 | int phone_hash; |
||
15 | ipc_call_t question; |
||
16 | |||
17 | int call_hash; |
||
18 | |||
19 | link_t link; |
||
20 | } pending_call_t; |
||
21 | |||
22 | void ipcp_init(void); |
||
23 | void ipcp_cleanup(void); |
||
24 | |||
2872 | svoboda | 25 | void ipc_parse_call_out(int phone, ipc_call_t *call, ipc_callid_t hash); |
26 | void ipc_parse_call_sync(int phone, ipc_call_t *call, ipc_call_t *answer); |
||
27 | void ipc_parse_call_in(ipc_call_t *call, ipc_callid_t hash); |
||
28 | void ipc_parse_hangup(int phone, int rc); |
||
2871 | svoboda | 29 | |
30 | #endif |
||
31 | |||
32 | /** @} |
||
33 | */ |