Defines |
| #define | DBUS_API_SUBJECT_TO_CHANGE 1 |
| #define | LIBLAZY_ERROR_GENERAL -1 |
| #define | LIBLAZY_ERROR_INVALID_ARGUMENT -2 |
| #define | LIBLAZY_ERROR_HAL_NOT_READY -10 |
| #define | LIBLAZY_ERROR_HAL_NO_SUCH_PROPERTY -11 |
| #define | LIBLAZY_ERROR_DBUS_NOT_READY -20 |
| #define | LIBLAZY_ERROR_DBUS_NO_REPLY -21 |
| #define | LIBLAZY_ERROR_DBUS_ERROR_IS_SET -22 |
Functions |
| void | liblazy_free_string (char *string) |
| | free a string
|
| void | liblazy_free_strlist (char **strlist) |
| | free a null terminated array of strings
|
| int | liblazy_dbus_system_send_method_call (const char *destination, const char *path, const char *interface, const char *method, DBusMessage **reply, int first_arg_type,...) |
| | send a method call to the system bus
|
| int | liblazy_dbus_session_send_method_call (const char *destination, const char *path, const char *interface, const char *method, DBusMessage **reply, int first_arg_type,...) |
| | send a method call to the session bus
|
| int | liblazy_dbus_system_send_signal (const char *path, const char *interface, const char *name, int first_arg_type,...) |
| | send a signal over the system bus
|
| int | liblazy_dbus_session_send_signal (const char *path, const char *interface, const char *name, int first_arg_type,...) |
| | send a signal over the session bus
|
| int | liblazy_dbus_message_get_basic_arg (DBusMessage *message, int type, void *arg, int no) |
| | get an argument from a DBusMessage
|
| int | liblazy_dbus_message_get_strlist_arg (DBusMessage *message, char ***strlist, int no) |
| | get a array argument from a DBusMessage as a string list
|
| void | liblazy_dbus_system_use_private_connection (int use_private) |
| | use a private connection for system bus messages
|
| 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_string (const char *udi, const char *property, char **value) |
| | get string 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
|