Modules | |
group | Device Info File Parsing |
Parsing of device info files. | |
group | HAL device store |
The device store is where the device objects are stored. | |
group | Logging system |
Logging system for the HAL daemon. | |
group | Error conditions |
Various error messages the HAL daemon can raise. | |
group | D-BUS interface org.freedesktop.Hal.Manager |
D-BUS interface for querying device objects. | |
group | D-BUS interface org.freedesktop.Hal.Device |
D-BUS interface for generic device operations. | |
group | D-BUS interface org.freedesktop.Hal.AgentManager |
D-BUS interface for creating/destroying device objects. | |
group | Basic functions |
Basic functions in the HAL daemon. | |
group | Linux 2.6 support |
Device detection and monitoring code for version 2.6 of Linux. | |
Functions | |
char * | xstrdup (const char *str) |
String duplication; aborts if no memory. | |
void * | xmalloc (unsigned int how_much) |
Memory allocation; aborts if no memory. | |
void | property_atomic_update_begin () |
Begin an atomic update - this is useful for updating several properties in one go. | |
void | property_atomic_update_end () |
End an atomic update. | |
void | emit_condition (HalDevice *device, const char *condition_name, int first_arg_type,...) |
Emits a condition on a device; the device has to be in the GDL for this function to have effect. |
|
Emits a condition on a device; the device has to be in the GDL for this function to have effect. Is intended for non-continuous events on the device like ProcesserOverheating, BlockDeviceGotDevice, e.g. conditions that are exceptional and may not be inferred by looking at properties (though some may). This function accepts a number of parameters that are passed along in the D-BUS message. The recipient is supposed to extract the parameters himself, by looking at the HAL specification.
Definition at line 1784 of file main.c. References DIE, HalDevice, HalDevice_s::in_gdl, and HalDevice_s::udi. Referenced by etc_mtab_process_all_block_devices(), force_unmount(), force_unmount_of_all_childs(), and link_detection_process(). |
|
Begin an atomic update - this is useful for updating several properties in one go. Note that an atomic update is recursive - use with caution! Definition at line 1663 of file main.c. References atomic_count. Referenced by ds_device_merge(), etc_mtab_process_all_block_devices(), force_unmount(), and link_detection_process(). |
|
End an atomic update. Note that an atomic update is recursive - use with caution! Definition at line 1687 of file main.c. References PendingUpdate_s::added, atomic_count, PendingUpdate_s::device, DIE, PendingUpdate_s::key, PendingUpdate_s::next, num_pending_updates, PendingUpdate, and PendingUpdate_s::removed. Referenced by ds_device_merge(), etc_mtab_process_all_block_devices(), force_unmount(), and link_detection_process(). |
|
Memory allocation; aborts if no memory.
Definition at line 2112 of file main.c. References DIE. Referenced by ds_device_async_find_by_key_value_string(), ds_device_find_multiple_by_key_value_string(), ds_device_new(), and property_changed(). |
|
String duplication; aborts if no memory.
Definition at line 2126 of file main.c. References DIE. Referenced by ds_device_async_find_by_key_value_string(), ds_device_new(), ds_device_set_udi(), ds_property_set_bool(), ds_property_set_double(), ds_property_set_int(), ds_property_set_string(), ds_query_capability(), and property_changed(). |