lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 44c6d88d was 44c6d88d, checked in by Ondrej Palkovsky <ondrap@…>, 19 years ago |
Added some additional functionality.
|
-
Property mode
set to
100644
|
File size:
933 bytes
|
Rev | Line | |
---|
[630c3a9] | 1 | #ifndef _libc_ASYNC_H_
|
---|
| 2 | #define _libc_ASYNC_H_
|
---|
| 3 |
|
---|
| 4 | #include <ipc/ipc.h>
|
---|
[53ca318] | 5 | #include <psthread.h>
|
---|
[f25b73d6] | 6 | #include <sys/time.h>
|
---|
[630c3a9] | 7 |
|
---|
[01ff41c] | 8 | typedef ipc_callid_t aid_t;
|
---|
| 9 |
|
---|
[630c3a9] | 10 | int async_manager(void);
|
---|
| 11 | void async_create_manager(void);
|
---|
| 12 | void async_destroy_manager(void);
|
---|
| 13 | int _async_init(void);
|
---|
| 14 | ipc_callid_t async_get_call(ipc_call_t *data);
|
---|
| 15 |
|
---|
[01ff41c] | 16 | aid_t async_send_2(int phoneid, ipcarg_t method, ipcarg_t arg1, ipcarg_t arg2,
|
---|
| 17 | ipc_call_t *dataptr);
|
---|
| 18 | void async_wait_for(aid_t amsgid, ipcarg_t *result);
|
---|
[c042bdd] | 19 | int async_wait_timeout(aid_t amsgid, ipcarg_t *retval, suseconds_t timeout);
|
---|
[44c6d88d] | 20 | pstid_t async_new_connection(ipcarg_t in_phone_hash,ipc_callid_t callid,
|
---|
| 21 | ipc_call_t *call,
|
---|
| 22 | void (*cthread)(ipc_callid_t,ipc_call_t *));
|
---|
| 23 | void async_usleep(suseconds_t timeout);
|
---|
[01ff41c] | 24 |
|
---|
| 25 | /* Should be defined by application */
|
---|
[630c3a9] | 26 | void client_connection(ipc_callid_t callid, ipc_call_t *call) __attribute__((weak));
|
---|
[44c6d88d] | 27 | void interrupt_received(ipc_call_t *call) __attribute__((weak));
|
---|
[630c3a9] | 28 |
|
---|
| 29 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.