Defines |
#define | DBUS_HAL_SERVICE "org.freedesktop.Hal" |
#define | DBUS_HAL_DEVICE_INTERFACE "org.freedesktop.Hal.Device" |
#define | DBUS_HAL_MANAGER_PATH "/org/freedesktop/Hal/Manager" |
#define | DBUS_HAL_MANAGER_INTERFACE "org.freedesktop.Hal.Manager" |
#define | DBUS_HAL_COMPUTER_PATH "/org/freedesktop/Hal/devices/computer" |
Functions |
static int | liblazy_hal_property_exists (const char *udi, const char *property) |
static int | liblazy_hal_get_property (const char *udi, const char *property, const char *method, int type, void *value) |
static int | liblazy_hal_get_strlist_manager (char ***strlist, const char *method, int first_arg_type,...) |
int | liblazy_hal_get_property_string (const char *udi, const char *property, char **value) |
| get string property from HAL
|
int | liblazy_hal_get_property_int (const char *udi, const char *property, int *value) |
| get integer property from HAL
|
int | liblazy_hal_get_property_bool (const char *udi, const char *property, int *value) |
| get boolean property from HAL
|
int | liblazy_hal_get_property_strlist (const char *udi, const char *property, char ***strlist) |
| get string list property from HAL
|
int | liblazy_hal_query_capability (const char *udi, const char *capability) |
| check if a device has a capability
|
int | liblazy_hal_find_device_by_capability (const char *capability, char ***strlist) |
| find devices with a given capability
|
int | liblazy_hal_find_device_by_string_match (const char *key, const char *value, char ***strlist) |
| find devices with given key and value
|
int | liblazy_hal_is_caller_privileged (const char *privilege) |
| check if a user possesses a privilege
|