Rev 1394 | Rev 1441 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1394 | Rev 1407 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef _libc_ASYNC_H_ |
1 | #ifndef _libc_ASYNC_H_ |
2 | #define _libc_ASYNC_H_ |
2 | #define _libc_ASYNC_H_ |
3 | 3 | ||
4 | #include <ipc/ipc.h> |
4 | #include <ipc/ipc.h> |
- | 5 | #include <psthread.h> |
|
5 | 6 | ||
6 | int async_manager(void); |
7 | int async_manager(void); |
7 | void async_create_manager(void); |
8 | void async_create_manager(void); |
8 | void async_destroy_manager(void); |
9 | void async_destroy_manager(void); |
9 | int _async_init(void); |
10 | int _async_init(void); |
10 | ipc_callid_t async_get_call(ipc_call_t *data); |
11 | ipc_callid_t async_get_call(ipc_call_t *data); |
11 | 12 | ||
12 | /* Should be defined by application */ |
13 | /* Should be defined by application */ |
- | 14 | pstid_t async_new_connection(ipc_callid_t callid, ipc_call_t *call, |
|
- | 15 | void (*cthread)(ipc_callid_t,ipc_call_t *)); |
|
13 | void client_connection(ipc_callid_t callid, ipc_call_t *call) __attribute__((weak)); |
16 | void client_connection(ipc_callid_t callid, ipc_call_t *call) __attribute__((weak)); |
14 | 17 | ||
15 | #endif |
18 | #endif |