Changes in uspace/lib/c/include/async.h [b7fd2a0:d5c1051] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/async.h
rb7fd2a0 rd5c1051 146 146 sysarg_t, sysarg_t, sysarg_t, ipc_call_t *); 147 147 148 extern void async_wait_for(aid_t, errno_t *);149 extern errno_t async_wait_timeout(aid_t, errno_t *, suseconds_t);148 extern void async_wait_for(aid_t, int *); 149 extern int async_wait_timeout(aid_t, int *, suseconds_t); 150 150 extern void async_forget(aid_t); 151 151 … … 162 162 extern void async_put_client_data_by_id(task_id_t); 163 163 164 extern errno_t async_create_port(iface_t, async_port_handler_t, void *,164 extern int async_create_port(iface_t, async_port_handler_t, void *, 165 165 port_id_t *); 166 166 extern void async_set_fallback_port_handler(async_port_handler_t, void *); 167 extern errno_t async_create_callback_port(async_exch_t *, iface_t, sysarg_t,167 extern int async_create_callback_port(async_exch_t *, iface_t, sysarg_t, 168 168 sysarg_t, async_port_handler_t, void *, port_id_t *); 169 169 170 extern errno_t async_irq_subscribe(int, async_notification_handler_t, void *,170 extern int async_irq_subscribe(int, async_notification_handler_t, void *, 171 171 const irq_code_t *, cap_handle_t *); 172 extern errno_t async_irq_unsubscribe(cap_handle_t);173 174 extern errno_t async_event_subscribe(event_type_t, async_notification_handler_t,172 extern int async_irq_unsubscribe(cap_handle_t); 173 174 extern int async_event_subscribe(event_type_t, async_notification_handler_t, 175 175 void *); 176 extern errno_t async_event_task_subscribe(event_task_type_t,176 extern int async_event_task_subscribe(event_task_type_t, 177 177 async_notification_handler_t, void *); 178 extern errno_t async_event_unsubscribe(event_type_t);179 extern errno_t async_event_task_unsubscribe(event_task_type_t);180 extern errno_t async_event_unmask(event_type_t);181 extern errno_t async_event_task_unmask(event_task_type_t);178 extern int async_event_unsubscribe(event_type_t); 179 extern int async_event_task_unsubscribe(event_task_type_t); 180 extern int async_event_unmask(event_type_t); 181 extern int async_event_task_unmask(event_task_type_t); 182 182 183 183 /* … … 198 198 */ 199 199 200 extern errno_t async_answer_0(cap_handle_t, errno_t);201 extern errno_t async_answer_1(cap_handle_t, errno_t, sysarg_t);202 extern errno_t async_answer_2(cap_handle_t, errno_t, sysarg_t, sysarg_t);203 extern errno_t async_answer_3(cap_handle_t, errno_t, sysarg_t, sysarg_t,200 extern int async_answer_0(cap_handle_t, int); 201 extern int async_answer_1(cap_handle_t, int, sysarg_t); 202 extern int async_answer_2(cap_handle_t, int, sysarg_t, sysarg_t); 203 extern int async_answer_3(cap_handle_t, int, sysarg_t, sysarg_t, 204 204 sysarg_t); 205 extern errno_t async_answer_4(cap_handle_t, errno_t, sysarg_t, sysarg_t,205 extern int async_answer_4(cap_handle_t, int, sysarg_t, sysarg_t, 206 206 sysarg_t, sysarg_t); 207 extern errno_t async_answer_5(cap_handle_t, errno_t, sysarg_t, sysarg_t,207 extern int async_answer_5(cap_handle_t, int, sysarg_t, sysarg_t, 208 208 sysarg_t, sysarg_t, sysarg_t); 209 209 … … 212 212 */ 213 213 214 extern errno_t async_forward_fast(cap_handle_t, async_exch_t *, sysarg_t, sysarg_t,214 extern int async_forward_fast(cap_handle_t, async_exch_t *, sysarg_t, sysarg_t, 215 215 sysarg_t, unsigned int); 216 extern errno_t async_forward_slow(cap_handle_t, async_exch_t *, sysarg_t, sysarg_t,216 extern int async_forward_slow(cap_handle_t, async_exch_t *, sysarg_t, sysarg_t, 217 217 sysarg_t, sysarg_t, sysarg_t, sysarg_t, unsigned int); 218 218 … … 338 338 rc3, rc4, rc5) 339 339 340 extern errno_t async_req_fast(async_exch_t *, sysarg_t, sysarg_t, sysarg_t,340 extern int async_req_fast(async_exch_t *, sysarg_t, sysarg_t, sysarg_t, 341 341 sysarg_t, sysarg_t, sysarg_t *, sysarg_t *, sysarg_t *, sysarg_t *, 342 342 sysarg_t *); 343 extern errno_t async_req_slow(async_exch_t *, sysarg_t, sysarg_t, sysarg_t,343 extern int async_req_slow(async_exch_t *, sysarg_t, sysarg_t, sysarg_t, 344 344 sysarg_t, sysarg_t, sysarg_t, sysarg_t *, sysarg_t *, sysarg_t *, 345 345 sysarg_t *, sysarg_t *); … … 355 355 extern async_sess_t *async_connect_kbox(task_id_t); 356 356 357 extern errno_t async_connect_to_me(async_exch_t *, sysarg_t, sysarg_t, sysarg_t);358 359 extern errno_t async_hangup(async_sess_t *);357 extern int async_connect_to_me(async_exch_t *, sysarg_t, sysarg_t, sysarg_t); 358 359 extern int async_hangup(async_sess_t *); 360 360 extern void async_poke(void); 361 361 … … 382 382 async_share_in_start(exch, size, arg, flags, dst) 383 383 384 extern errno_t async_share_in_start(async_exch_t *, size_t, sysarg_t,384 extern int async_share_in_start(async_exch_t *, size_t, sysarg_t, 385 385 unsigned int *, void **); 386 386 extern bool async_share_in_receive(cap_handle_t *, size_t *); 387 extern errno_t async_share_in_finalize(cap_handle_t, void *, unsigned int);388 389 extern errno_t async_share_out_start(async_exch_t *, void *, unsigned int);387 extern int async_share_in_finalize(cap_handle_t, void *, unsigned int); 388 389 extern int async_share_out_start(async_exch_t *, void *, unsigned int); 390 390 extern bool async_share_out_receive(cap_handle_t *, size_t *, unsigned int *); 391 extern errno_t async_share_out_finalize(cap_handle_t, void **);391 extern int async_share_out_finalize(cap_handle_t, void **); 392 392 393 393 /* … … 422 422 423 423 extern aid_t async_data_read(async_exch_t *, void *, size_t, ipc_call_t *); 424 extern errno_t async_data_read_start(async_exch_t *, void *, size_t);424 extern int async_data_read_start(async_exch_t *, void *, size_t); 425 425 extern bool async_data_read_receive(cap_handle_t *, size_t *); 426 426 extern bool async_data_read_receive_call(cap_handle_t *, ipc_call_t *, size_t *); 427 extern errno_t async_data_read_finalize(cap_handle_t, const void *, size_t);428 429 extern errno_t async_data_read_forward_fast(async_exch_t *, sysarg_t, sysarg_t,427 extern int async_data_read_finalize(cap_handle_t, const void *, size_t); 428 429 extern int async_data_read_forward_fast(async_exch_t *, sysarg_t, sysarg_t, 430 430 sysarg_t, sysarg_t, sysarg_t, ipc_call_t *); 431 431 … … 461 461 answer) 462 462 463 extern errno_t async_data_write_start(async_exch_t *, const void *, size_t);463 extern int async_data_write_start(async_exch_t *, const void *, size_t); 464 464 extern bool async_data_write_receive(cap_handle_t *, size_t *); 465 465 extern bool async_data_write_receive_call(cap_handle_t *, ipc_call_t *, size_t *); 466 extern errno_t async_data_write_finalize(cap_handle_t, void *, size_t);467 468 extern errno_t async_data_write_accept(void **, const bool, const size_t,466 extern int async_data_write_finalize(cap_handle_t, void *, size_t); 467 468 extern int async_data_write_accept(void **, const bool, const size_t, 469 469 const size_t, const size_t, size_t *); 470 extern void async_data_write_void( errno_t);471 472 extern errno_t async_data_write_forward_fast(async_exch_t *, sysarg_t, sysarg_t,470 extern void async_data_write_void(int); 471 472 extern int async_data_write_forward_fast(async_exch_t *, sysarg_t, sysarg_t, 473 473 sysarg_t, sysarg_t, sysarg_t, ipc_call_t *); 474 474 … … 476 476 extern async_sess_t *async_callback_receive_start(exch_mgmt_t, ipc_call_t *); 477 477 478 extern errno_t async_state_change_start(async_exch_t *, sysarg_t, sysarg_t,478 extern int async_state_change_start(async_exch_t *, sysarg_t, sysarg_t, 479 479 sysarg_t, async_exch_t *); 480 480 extern bool async_state_change_receive(cap_handle_t *, sysarg_t *, sysarg_t *, 481 481 sysarg_t *); 482 extern errno_t async_state_change_finalize(cap_handle_t, async_exch_t *);482 extern int async_state_change_finalize(cap_handle_t, async_exch_t *); 483 483 484 484 extern void *async_remote_state_acquire(async_sess_t *);
Note:
See TracChangeset
for help on using the changeset viewer.