Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/devman.h

    rb7fd2a0 r81685dd9  
    4646extern void devman_exchange_end(async_exch_t *);
    4747
    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 *,
     48extern int devman_driver_register(const char *);
     49extern int devman_add_function(const char *, fun_type_t, match_id_list_t *,
    5050    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);
     51extern int devman_remove_function(devman_handle_t);
     52extern int devman_drv_fun_online(devman_handle_t);
     53extern int devman_drv_fun_offline(devman_handle_t);
    5454
    5555extern async_sess_t *devman_device_connect(devman_handle_t, unsigned int);
     
    5757    unsigned int);
    5858
    59 extern errno_t devman_fun_get_handle(const char *, devman_handle_t *,
     59extern int devman_fun_get_handle(const char *, devman_handle_t *,
    6060    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 **,
     61extern int devman_fun_get_child(devman_handle_t, devman_handle_t *);
     62extern int devman_dev_get_parent(devman_handle_t, devman_handle_t *);
     63extern int devman_dev_get_functions(devman_handle_t, devman_handle_t **,
    6464    size_t *);
    65 extern errno_t devman_fun_get_match_id(devman_handle_t, size_t, char *, size_t,
     65extern int devman_fun_get_match_id(devman_handle_t, size_t, char *, size_t,
    6666    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);
     67extern int devman_fun_get_name(devman_handle_t, char *, size_t);
     68extern int devman_fun_get_driver_name(devman_handle_t, char *, size_t);
     69extern int devman_fun_get_path(devman_handle_t, char *, size_t);
     70extern int devman_fun_online(devman_handle_t);
     71extern int devman_fun_offline(devman_handle_t);
    7272
    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 **,
     73extern int devman_add_device_to_category(devman_handle_t, const char *);
     74extern int devman_fun_sid_to_handle(service_id_t, devman_handle_t *);
     75extern int devman_get_drivers(devman_handle_t **, size_t *);
     76extern int devman_driver_get_devices(devman_handle_t, devman_handle_t **,
    7777    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,
     78extern int devman_driver_get_handle(const char *, devman_handle_t *);
     79extern int devman_driver_get_match_id(devman_handle_t, size_t, char *, size_t,
    8080    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);
     81extern int devman_driver_get_name(devman_handle_t, char *, size_t);
     82extern int devman_driver_get_state(devman_handle_t, driver_state_t *);
     83extern int devman_driver_load(devman_handle_t);
     84extern int devman_driver_unload(devman_handle_t);
    8585
    8686#endif
Note: See TracChangeset for help on using the changeset viewer.