Changes in uspace/lib/c/include/devman.h [1a5b252:e72fb34] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/devman.h
r1a5b252 re72fb34 38 38 39 39 #include <ipc/devman.h> 40 #include <ipc/loc.h>41 40 #include <async.h> 42 41 #include <bool.h> 43 42 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 *); 43 extern int devman_get_phone(devman_interface_t, unsigned int); 44 extern void devman_hangup_phone(devman_interface_t); 47 45 48 46 extern int devman_driver_register(const char *, async_client_conn_t); 49 47 extern int devman_add_function(const char *, fun_type_t, match_id_list_t *, 50 48 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);54 49 55 extern async_sess_t *devman_device_connect(exch_mgmt_t, devman_handle_t, 50 extern int devman_device_connect(devman_handle_t, unsigned int); 51 extern int devman_parent_device_connect(devman_handle_t, unsigned int); 52 53 extern int devman_device_get_handle(const char *, devman_handle_t *, 56 54 unsigned int); 57 extern async_sess_t *devman_parent_device_connect(exch_mgmt_t, devman_handle_t,58 unsigned int);55 extern int devman_device_get_handle_by_class(const char *, const char *, 56 devman_handle_t *, unsigned int); 59 57 60 extern int devman_fun_get_handle(const char *, devman_handle_t *, 61 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); 69 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 *); 58 extern int devman_add_device_to_class(devman_handle_t, const char *); 72 59 73 60 #endif
Note:
See TracChangeset
for help on using the changeset viewer.