Changes in uspace/lib/c/include/async.h [6aae539d:1c635d6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/async.h
r6aae539d r1c635d6 44 44 #include <sys/time.h> 45 45 #include <atomic.h> 46 #include <bool.h> 47 #include <task.h> 46 #include <stdbool.h> 47 #include <abi/proc/task.h> 48 #include <abi/ddi/irq.h> 49 #include <abi/ipc/event.h> 48 50 49 51 typedef ipc_callid_t aid_t; … … 62 64 typedef void (*async_client_conn_t)(ipc_callid_t, ipc_call_t *, void *); 63 65 64 /** Interrupt handler */ 65 typedef void (*async_interrupt_handler_t)(ipc_callid_t, ipc_call_t *); 66 /** Notification handler */ 67 typedef void (*async_notification_handler_t)(ipc_callid_t, ipc_call_t *, 68 void *); 66 69 67 70 /** Exchange management style … … 155 158 156 159 extern void async_set_client_connection(async_client_conn_t); 157 extern void async_set_interrupt_received(async_interrupt_handler_t); 160 extern void async_set_notification_handler_stack_size(size_t); 161 162 extern int async_irq_subscribe(int, int, async_notification_handler_t, void *, 163 const irq_code_t *); 164 extern int async_irq_unsubscribe(int, int); 165 166 extern int async_event_subscribe(event_type_t, async_notification_handler_t, 167 void *); 168 extern int async_event_task_subscribe(event_task_type_t, 169 async_notification_handler_t, void *); 170 extern int async_event_unsubscribe(event_type_t); 171 extern int async_event_task_unsubscribe(event_task_type_t); 172 extern int async_event_unmask(event_type_t); 173 extern int async_event_task_unmask(event_task_type_t); 158 174 159 175 /* … … 398 414 extern int async_data_read_start(async_exch_t *, void *, size_t); 399 415 extern bool async_data_read_receive(ipc_callid_t *, size_t *); 416 extern bool async_data_read_receive_call(ipc_callid_t *, ipc_call_t *, size_t *); 400 417 extern int async_data_read_finalize(ipc_callid_t, const void *, size_t); 401 418 … … 436 453 extern int async_data_write_start(async_exch_t *, const void *, size_t); 437 454 extern bool async_data_write_receive(ipc_callid_t *, size_t *); 455 extern bool async_data_write_receive_call(ipc_callid_t *, ipc_call_t *, size_t *); 438 456 extern int async_data_write_finalize(ipc_callid_t, void *, size_t); 439 457
Note:
See TracChangeset
for help on using the changeset viewer.