Changes in uspace/lib/c/include/devman.h [e72fb34:1a5b252] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/devman.h
re72fb34 r1a5b252 38 38 39 39 #include <ipc/devman.h> 40 #include <ipc/loc.h> 40 41 #include <async.h> 41 42 #include <bool.h> 42 43 43 extern int devman_get_phone(devman_interface_t, unsigned int); 44 extern void devman_hangup_phone(devman_interface_t); 44 extern async_exch_t *devman_exchange_begin_blocking(devman_interface_t); 45 extern async_exch_t *devman_exchange_begin(devman_interface_t); 46 extern void devman_exchange_end(async_exch_t *); 45 47 46 48 extern int devman_driver_register(const char *, async_client_conn_t); 47 49 extern int devman_add_function(const char *, fun_type_t, match_id_list_t *, 48 50 devman_handle_t, devman_handle_t *); 51 extern int devman_remove_function(devman_handle_t); 52 extern int devman_drv_fun_online(devman_handle_t); 53 extern int devman_drv_fun_offline(devman_handle_t); 49 54 50 extern int devman_device_connect(devman_handle_t, unsigned int); 51 extern int devman_parent_device_connect(devman_handle_t, unsigned int); 55 extern async_sess_t *devman_device_connect(exch_mgmt_t, devman_handle_t, 56 unsigned int); 57 extern async_sess_t *devman_parent_device_connect(exch_mgmt_t, devman_handle_t, 58 unsigned int); 52 59 53 extern int devman_ device_get_handle(const char *, devman_handle_t *,60 extern int devman_fun_get_handle(const char *, devman_handle_t *, 54 61 unsigned int); 55 extern int devman_device_get_handle_by_class(const char *, const char *, 56 devman_handle_t *, unsigned int); 62 extern int devman_fun_get_child(devman_handle_t, devman_handle_t *); 63 extern int devman_dev_get_functions(devman_handle_t, devman_handle_t **, 64 size_t *); 65 extern int devman_fun_get_name(devman_handle_t, char *, size_t); 66 extern int devman_fun_get_path(devman_handle_t, char *, size_t); 67 extern int devman_fun_online(devman_handle_t); 68 extern int devman_fun_offline(devman_handle_t); 57 69 58 extern int devman_add_device_to_class(devman_handle_t, const char *); 70 extern int devman_add_device_to_category(devman_handle_t, const char *); 71 extern int devman_fun_sid_to_handle(service_id_t, devman_handle_t *); 59 72 60 73 #endif
Note:
See TracChangeset
for help on using the changeset viewer.