Rev 2872 | Rev 2874 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2872 | Rev 2873 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | 6 | ||
7 | #ifndef IPC_H_ |
7 | #ifndef IPC_H_ |
8 | #define IPC_H_ |
8 | #define IPC_H_ |
9 | 9 | ||
10 | #include <ipc/ipc.h> |
10 | #include <ipc/ipc.h> |
- | 11 | #include "proto.h" |
|
- | 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); |
|
- | 23 | void ipcp_cleanup(void); |
|
11 | 24 | ||
12 | void ipc_parse_call_out(int phone, ipc_call_t *call, ipc_callid_t hash); |
25 | void ipc_parse_call_out(int phone, ipc_call_t *call, ipc_callid_t hash); |
13 | void ipc_parse_call_sync(int phone, ipc_call_t *call, ipc_call_t *answer); |
26 | void ipc_parse_call_sync(int phone, ipc_call_t *call, ipc_call_t *answer); |
14 | void ipc_parse_call_in(ipc_call_t *call, ipc_callid_t hash); |
27 | void ipc_parse_call_in(ipc_call_t *call, ipc_callid_t hash); |
15 | void ipc_parse_hangup(int phone, int rc); |
28 | void ipc_parse_hangup(int phone, int rc); |