Changes in uspace/lib/c/include/devman.h [b7fd2a0:81685dd9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/devman.h
rb7fd2a0 r81685dd9 46 46 extern void devman_exchange_end(async_exch_t *); 47 47 48 extern errno_t devman_driver_register(const char *);49 extern errno_t devman_add_function(const char *, fun_type_t, match_id_list_t *,48 extern int devman_driver_register(const char *); 49 extern int devman_add_function(const char *, fun_type_t, match_id_list_t *, 50 50 devman_handle_t, devman_handle_t *); 51 extern errno_t devman_remove_function(devman_handle_t);52 extern errno_t devman_drv_fun_online(devman_handle_t);53 extern errno_t devman_drv_fun_offline(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 54 55 55 extern async_sess_t *devman_device_connect(devman_handle_t, unsigned int); … … 57 57 unsigned int); 58 58 59 extern errno_t devman_fun_get_handle(const char *, devman_handle_t *,59 extern int devman_fun_get_handle(const char *, devman_handle_t *, 60 60 unsigned int); 61 extern errno_t devman_fun_get_child(devman_handle_t, devman_handle_t *);62 extern errno_t devman_dev_get_parent(devman_handle_t, devman_handle_t *);63 extern errno_t devman_dev_get_functions(devman_handle_t, devman_handle_t **,61 extern int devman_fun_get_child(devman_handle_t, devman_handle_t *); 62 extern int devman_dev_get_parent(devman_handle_t, devman_handle_t *); 63 extern int devman_dev_get_functions(devman_handle_t, devman_handle_t **, 64 64 size_t *); 65 extern errno_t devman_fun_get_match_id(devman_handle_t, size_t, char *, size_t,65 extern int devman_fun_get_match_id(devman_handle_t, size_t, char *, size_t, 66 66 unsigned int *); 67 extern errno_t devman_fun_get_name(devman_handle_t, char *, size_t);68 extern errno_t devman_fun_get_driver_name(devman_handle_t, char *, size_t);69 extern errno_t devman_fun_get_path(devman_handle_t, char *, size_t);70 extern errno_t devman_fun_online(devman_handle_t);71 extern errno_t devman_fun_offline(devman_handle_t);67 extern int devman_fun_get_name(devman_handle_t, char *, size_t); 68 extern int devman_fun_get_driver_name(devman_handle_t, char *, size_t); 69 extern int devman_fun_get_path(devman_handle_t, char *, size_t); 70 extern int devman_fun_online(devman_handle_t); 71 extern int devman_fun_offline(devman_handle_t); 72 72 73 extern errno_t devman_add_device_to_category(devman_handle_t, const char *);74 extern errno_t devman_fun_sid_to_handle(service_id_t, devman_handle_t *);75 extern errno_t devman_get_drivers(devman_handle_t **, size_t *);76 extern errno_t devman_driver_get_devices(devman_handle_t, devman_handle_t **,73 extern int devman_add_device_to_category(devman_handle_t, const char *); 74 extern int devman_fun_sid_to_handle(service_id_t, devman_handle_t *); 75 extern int devman_get_drivers(devman_handle_t **, size_t *); 76 extern int devman_driver_get_devices(devman_handle_t, devman_handle_t **, 77 77 size_t *); 78 extern errno_t devman_driver_get_handle(const char *, devman_handle_t *);79 extern errno_t devman_driver_get_match_id(devman_handle_t, size_t, char *, size_t,78 extern int devman_driver_get_handle(const char *, devman_handle_t *); 79 extern int devman_driver_get_match_id(devman_handle_t, size_t, char *, size_t, 80 80 unsigned int *); 81 extern errno_t devman_driver_get_name(devman_handle_t, char *, size_t);82 extern errno_t devman_driver_get_state(devman_handle_t, driver_state_t *);83 extern errno_t devman_driver_load(devman_handle_t);84 extern errno_t devman_driver_unload(devman_handle_t);81 extern int devman_driver_get_name(devman_handle_t, char *, size_t); 82 extern int devman_driver_get_state(devman_handle_t, driver_state_t *); 83 extern int devman_driver_load(devman_handle_t); 84 extern int devman_driver_unload(devman_handle_t); 85 85 86 86 #endif
Note:
See TracChangeset
for help on using the changeset viewer.