Main Page | Modules | Data Structures | File List | Data Fields | Related Pages

D-BUS interface org.freedesktop.Hal.Manager
[HAL daemon]

D-BUS interface for querying device objects. More...

Data Structures

struct  DeviceMatchInfo
struct  DeviceCapabilityInfo

Functions

gboolean foreach_device_get_udi (HalDeviceStore *store, HalDevice *device, gpointer user_data)
DBusHandlerResult manager_get_all_devices (DBusConnection *connection, DBusMessage *message)
 Get all devices.

gboolean foreach_device_match_get_udi (HalDeviceStore *store, HalDevice *device, gpointer user_data)
DBusHandlerResult manager_find_device_string_match (DBusConnection *connection, DBusMessage *message)
 Find devices in the GDL where a single string property matches a given value.

gboolean foreach_device_by_capability (HalDeviceStore *store, HalDevice *device, gpointer user_data)
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 (HalDevice *device)
 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 (HalDevice *device)
 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 (HalDevice *device, const char *capability)
 Send signal NewCapability(string udi, string capability) on the org.freedesktop.Hal.Manager interface on the object /org/freedesktop/Hal/Manager.


Detailed Description

D-BUS interface for querying device objects.


Function Documentation

DBusHandlerResult manager_device_exists DBusConnection *  connection,
DBusMessage *  message
 

Determine if a device exists.

bool Manager.DeviceExists(string udi)

Parameters:
connection D-BUS connection
message Message
Returns:
What to do with the message

Definition at line 425 of file hald_dbus.c.

References DIE, and raise_syntax().

Referenced by filter_function().

DBusHandlerResult manager_find_device_by_capability DBusConnection *  connection,
DBusMessage *  message
 

Find devices in the GDL with a given capability.

array{object_reference} Manager.FindDeviceByCapability(string capability)

Parameters:
connection D-BUS connection
message Message
Returns:
What to do with the message

Definition at line 369 of file hald_dbus.c.

References DIE, and raise_syntax().

Referenced by filter_function().

DBusHandlerResult manager_find_device_string_match DBusConnection *  connection,
DBusMessage *  message
 

Find devices in the GDL where a single string property matches a given value.

array{object_reference} Manager.FindDeviceStringMatch(string key, string value)

Parameters:
connection D-BUS connection
message Message
Returns:
What to do with the message

Definition at line 290 of file hald_dbus.c.

References DIE, and raise_syntax().

Referenced by filter_function().

DBusHandlerResult manager_get_all_devices DBusConnection *  connection,
DBusMessage *  message
 

Get all devices.

array{object_reference} Manager.GetAllDevices()

Parameters:
connection D-BUS connection
message Message
Returns:
What to do with the message

Definition at line 221 of file hald_dbus.c.

References DIE.

Referenced by filter_function().

void manager_send_signal_device_added HalDevice *  device  ) 
 

Send signal DeviceAdded(string udi) on the org.freedesktop.Hal.Manager interface on the object /org/freedesktop/Hal/Manager.

Parameters:
device The HalDevice added

Definition at line 465 of file hald_dbus.c.

References DIE.

void manager_send_signal_device_removed HalDevice *  device  ) 
 

Send signal DeviceRemoved(string udi) on the org.freedesktop.Hal.Manager interface on the object /org/freedesktop/Hal/Manager.

Parameters:
device The HalDevice removed

Definition at line 492 of file hald_dbus.c.

References DIE.

void manager_send_signal_new_capability HalDevice *  device,
const char *  capability
 

Send signal NewCapability(string udi, string capability) on the org.freedesktop.Hal.Manager interface on the object /org/freedesktop/Hal/Manager.

Parameters:
udi Unique Device Id
capability Capability

Definition at line 521 of file hald_dbus.c.

References DIE.

Referenced by device_add_capability().


Generated on Sat Apr 24 19:57:47 2004 for HAL by doxygen 1.3.6-20040222