Changes in uspace/lib/c/include/ipc/ipc.h [5b0cf63:01c3bb4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/ipc.h
r5b0cf63 r01c3bb4 34 34 35 35 #if ((defined(LIBC_ASYNC_H_)) && (!defined(LIBC_ASYNC_C_))) 36 #error Do not intermix low-level IPC interface and async framework36 #error Do not intermix low-level IPC interface and async framework 37 37 #endif 38 38 … … 46 46 #include <abi/cap.h> 47 47 48 typedef void (*ipc_async_callback_t)(void *, errno_t, ipc_call_t *);48 typedef void (*ipc_async_callback_t)(void *, int, ipc_call_t *); 49 49 50 extern errno_t ipc_wait_cycle(ipc_call_t *, sysarg_t, unsigned int);50 extern cap_handle_t ipc_wait_cycle(ipc_call_t *, sysarg_t, unsigned int); 51 51 extern void ipc_poke(void); 52 52 … … 54 54 ipc_wait_for_call_timeout(data, SYNCH_NO_TIMEOUT); 55 55 56 extern errno_t ipc_wait_for_call_timeout(ipc_call_t *, sysarg_t);57 extern errno_t ipc_trywait_for_call(ipc_call_t *);56 extern cap_handle_t ipc_wait_for_call_timeout(ipc_call_t *, sysarg_t); 57 extern cap_handle_t ipc_trywait_for_call(ipc_call_t *); 58 58 59 59 /* … … 78 78 (arg5)) 79 79 80 extern errno_t ipc_answer_fast(cap_handle_t, errno_t, sysarg_t, sysarg_t,80 extern sysarg_t ipc_answer_fast(cap_handle_t, sysarg_t, sysarg_t, sysarg_t, 81 81 sysarg_t, sysarg_t); 82 extern errno_t ipc_answer_slow(cap_handle_t, errno_t, sysarg_t, sysarg_t,82 extern sysarg_t ipc_answer_slow(cap_handle_t, sysarg_t, sysarg_t, sysarg_t, 83 83 sysarg_t, sysarg_t, sysarg_t); 84 84 … … 115 115 sysarg_t, sysarg_t, sysarg_t, void *, ipc_async_callback_t); 116 116 117 extern errno_t ipc_hangup(cap_handle_t);117 extern int ipc_hangup(cap_handle_t); 118 118 119 extern errno_t ipc_forward_fast(cap_handle_t, cap_handle_t, sysarg_t, sysarg_t,119 extern int ipc_forward_fast(cap_handle_t, cap_handle_t, sysarg_t, sysarg_t, 120 120 sysarg_t, unsigned int); 121 extern errno_t ipc_forward_slow(cap_handle_t, cap_handle_t, sysarg_t, sysarg_t,121 extern int ipc_forward_slow(cap_handle_t, cap_handle_t, sysarg_t, sysarg_t, 122 122 sysarg_t, sysarg_t, sysarg_t, sysarg_t, unsigned int); 123 123 124 extern errno_t ipc_connect_kbox(task_id_t, cap_handle_t *);124 extern int ipc_connect_kbox(task_id_t); 125 125 126 126 #endif
Note:
See TracChangeset
for help on using the changeset viewer.