Functions | |
DBusHandlerResult | manager_get_all_devices (DBusConnection *connection, DBusMessage *message) |
Get all devices. | |
DBusHandlerResult | manager_find_device_string_match (DBusConnection *connection, DBusMessage *message) |
Find devices in the GDL where a single string property matches a given value. | |
DBusHandlerResult | manager_find_device_by_capability (DBusConnection *connection, DBusMessage *message) |
Find devices in the GDL with a given capability. | |
DBusHandlerResult | manager_device_exists (DBusConnection *connection, DBusMessage *message) |
Determine if a device exists. | |
void | manager_send_signal_device_added (const char *udi) |
Send signal DeviceAdded(string udi) on the org.freedesktop.Hal.Manager interface on the object /org/freedesktop/Hal/Manager. | |
void | manager_send_signal_device_removed (const char *udi) |
Send signal DeviceRemoved(string udi) on the org.freedesktop.Hal.Manager interface on the object /org/freedesktop/Hal/Manager. | |
void | manager_send_signal_new_capability (const char *udi, const char *capability) |
Send signal NewCapability(string udi, string capability) on the org.freedesktop.Hal.Manager interface on the object /org/freedesktop/Hal/Manager. |
|
Determine if a device exists.
Definition at line 421 of file main.c. References DIE, ds_device_find(), HalDevice, and raise_syntax(). Referenced by filter_function(). |
|
Find devices in the GDL with a given capability.
Definition at line 351 of file main.c. References DIE, ds_device_iter_begin(), ds_device_iter_get(), ds_device_iter_has_more(), ds_device_iter_next(), ds_property_get_string(), ds_property_get_type(), HalDevice, HalDeviceIterator, HalDevice_s::in_gdl, and raise_syntax(). Referenced by filter_function(). |
|
Find devices in the GDL where a single string property matches a given value.
Definition at line 280 of file main.c. References DIE, ds_device_iter_begin(), ds_device_iter_get(), ds_device_iter_has_more(), ds_device_iter_next(), ds_property_get_string(), ds_property_get_type(), HalDevice, HalDeviceIterator, HalDevice_s::in_gdl, and raise_syntax(). Referenced by filter_function(). |
|
Get all devices.
Definition at line 227 of file main.c. References DIE, ds_device_get_udi(), ds_device_iter_begin(), ds_device_iter_get(), ds_device_iter_has_more(), ds_device_iter_next(), HalDevice, HalDeviceIterator, and HalDevice_s::in_gdl. Referenced by filter_function(). |
|
Send signal DeviceAdded(string udi) on the org.freedesktop.Hal.Manager interface on the object /org/freedesktop/Hal/Manager.
Definition at line 461 of file main.c. References DIE. Referenced by gdl_changed(). |
|
Send signal DeviceRemoved(string udi) on the org.freedesktop.Hal.Manager interface on the object /org/freedesktop/Hal/Manager.
Definition at line 487 of file main.c. References DIE. Referenced by gdl_changed(). |
|
Send signal NewCapability(string udi, string capability) on the org.freedesktop.Hal.Manager interface on the object /org/freedesktop/Hal/Manager.
Definition at line 515 of file main.c. References DIE. Referenced by device_add_capability(), and new_capability(). |