Rev 2873 | Rev 2882 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2873 | Rev 2874 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | * @{ |
2 | * @{ |
3 | */ |
3 | */ |
4 | /** @file |
4 | /** @file |
5 | */ |
5 | */ |
6 | 6 | ||
7 | #ifndef IPC_H_ |
7 | #ifndef IPCP_H_ |
8 | #define IPC_H_ |
8 | #define IPCP_H_ |
9 | 9 | ||
10 | #include <ipc/ipc.h> |
10 | #include <ipc/ipc.h> |
11 | #include "proto.h" |
11 | #include "proto.h" |
12 | 12 | ||
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); |
13 | void ipcp_init(void); |
23 | void ipcp_cleanup(void); |
14 | void ipcp_cleanup(void); |
24 | 15 | ||
25 | void ipc_parse_call_out(int phone, ipc_call_t *call, ipc_callid_t hash); |
16 | void ipcp_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); |
17 | void ipcp_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); |
18 | void ipcp_call_in(ipc_call_t *call, ipc_callid_t hash); |
28 | void ipc_parse_hangup(int phone, int rc); |
19 | void ipcp_hangup(int phone, int rc); |
29 | 20 | ||
30 | #endif |
21 | #endif |
31 | 22 | ||
32 | /** @} |
23 | /** @} |
33 | */ |
24 | */ |