Data Structures | |
struct | E_Hal_Bool_Return |
struct | E_Hal_Capability |
struct | E_Hal_Properties |
struct | E_Hal_Property |
struct | E_Hal_String_List_Return |
struct | E_Hal_UDI_Return |
Macros | |
#define | E_HAL_DEVICE_INTERFACE "org.freedesktop.Hal.Device" |
#define | E_HAL_DEVICE_VOLUME_INTERFACE "org.freedesktop.Hal.Device.Volume" |
#define | E_HAL_MANAGER_INTERFACE "org.freedesktop.Hal.Manager" |
#define | E_HAL_MANAGER_PATH "/org/freedesktop/Hal/Manager" |
#define | E_HAL_SENDER "org.freedesktop.Hal" |
Typedefs | |
typedef struct E_Hal_Properties | E_Hal_Device_Get_All_Properties_Return |
typedef struct E_Hal_Property | E_Hal_Device_Get_Property_Return |
typedef struct E_Hal_Bool_Return | E_Hal_Device_Query_Capability_Return |
typedef struct E_Hal_UDI_Return | E_Hal_Manager_Device_Added |
typedef struct E_Hal_Bool_Return | E_Hal_Manager_Device_Exists_Return |
typedef struct E_Hal_UDI_Return | E_Hal_Manager_Device_Removed |
typedef struct E_Hal_String_List_Return | E_Hal_Manager_Find_Device_By_Capability_Return |
typedef struct E_Hal_String_List_Return | E_Hal_Manager_Find_Device_String_Match_Return |
typedef struct E_Hal_String_List_Return | E_Hal_Manager_Get_All_Devices_Return |
typedef struct E_Hal_Capability | E_Hal_Manager_New_Capability |
typedef struct E_Hal_Properties | E_Hal_Properties |
typedef struct E_Hal_Property | E_Hal_Property |
typedef struct E_Hal_String_List_Return | E_Hal_String_List_Return |
Functions | |
EAPI DBusPendingCall * | e_hal_device_get_all_properties (E_DBus_Connection *conn, const char *udi, E_DBus_Callback_Func cb_func, void *data) |
EAPI DBusPendingCall * | e_hal_device_get_property (E_DBus_Connection *conn, const char *udi, const char *property, E_DBus_Callback_Func cb_func, void *data) |
EAPI DBusPendingCall * | e_hal_device_query_capability (E_DBus_Connection *conn, const char *udi, const char *capability, E_DBus_Callback_Func cb_func, void *data) |
EAPI DBusPendingCall * | e_hal_device_volume_eject (E_DBus_Connection *conn, const char *udi, Eina_List *options, E_DBus_Callback_Func cb_func, void *data) |
Eject a Volume. More... | |
EAPI DBusPendingCall * | e_hal_device_volume_mount (E_DBus_Connection *conn, const char *udi, const char *mount_point, const char *fstype, Eina_List *options, E_DBus_Callback_Func cb_func, void *data) |
Mount a Volume. More... | |
EAPI DBusPendingCall * | e_hal_device_volume_unmount (E_DBus_Connection *conn, const char *udi, Eina_List *options, E_DBus_Callback_Func cb_func, void *data) |
Unmount a Volume. More... | |
EAPI int | e_hal_init (void) |
EAPI DBusPendingCall * | e_hal_manager_device_exists (E_DBus_Connection *conn, const char *udi, E_DBus_Callback_Func cb_func, void *data) |
EAPI DBusPendingCall * | e_hal_manager_find_device_by_capability (E_DBus_Connection *conn, const char *capability, E_DBus_Callback_Func cb_func, void *data) |
EAPI DBusPendingCall * | e_hal_manager_find_device_string_match (E_DBus_Connection *conn, const char *key, const char *value, E_DBus_Callback_Func cb_func, void *data) |
EAPI DBusPendingCall * | e_hal_manager_get_all_devices (E_DBus_Connection *conn, E_DBus_Callback_Func cb_func, void *data) |
EAPI Eina_Bool | e_hal_property_bool_get (E_Hal_Properties *properties, const char *key, int *err) |
EAPI double | e_hal_property_double_get (E_Hal_Properties *properties, const char *key, int *err) |
EAPI void | e_hal_property_free (E_Hal_Property *prop) |
EAPI int | e_hal_property_int_get (E_Hal_Properties *properties, const char *key, int *err) |
EAPI const char * | e_hal_property_string_get (E_Hal_Properties *properties, const char *key, int *err) |
Retrive a string from an element of a property hash. More... | |
EAPI const Eina_List * | e_hal_property_strlist_get (E_Hal_Properties *properties, const char *key, int *err) |
EAPI uint64_t | e_hal_property_uint64_get (E_Hal_Properties *properties, const char *key, int *err) |
EAPI int | e_hal_shutdown (void) |
Detailed Description
Macro Definition Documentation
◆ E_HAL_DEVICE_INTERFACE
#define E_HAL_DEVICE_INTERFACE "org.freedesktop.Hal.Device" |
◆ E_HAL_DEVICE_VOLUME_INTERFACE
#define E_HAL_DEVICE_VOLUME_INTERFACE "org.freedesktop.Hal.Device.Volume" |
◆ E_HAL_MANAGER_INTERFACE
#define E_HAL_MANAGER_INTERFACE "org.freedesktop.Hal.Manager" |
◆ E_HAL_MANAGER_PATH
#define E_HAL_MANAGER_PATH "/org/freedesktop/Hal/Manager" |
◆ E_HAL_SENDER
#define E_HAL_SENDER "org.freedesktop.Hal" |
Typedef Documentation
◆ E_Hal_Device_Get_All_Properties_Return
typedef struct E_Hal_Properties E_Hal_Device_Get_All_Properties_Return |
◆ E_Hal_Device_Get_Property_Return
typedef struct E_Hal_Property E_Hal_Device_Get_Property_Return |
◆ E_Hal_Device_Query_Capability_Return
typedef struct E_Hal_Bool_Return E_Hal_Device_Query_Capability_Return |
◆ E_Hal_Manager_Device_Added
typedef struct E_Hal_UDI_Return E_Hal_Manager_Device_Added |
◆ E_Hal_Manager_Device_Exists_Return
typedef struct E_Hal_Bool_Return E_Hal_Manager_Device_Exists_Return |
◆ E_Hal_Manager_Device_Removed
typedef struct E_Hal_UDI_Return E_Hal_Manager_Device_Removed |
◆ E_Hal_Manager_Find_Device_By_Capability_Return
◆ E_Hal_Manager_Find_Device_String_Match_Return
◆ E_Hal_Manager_Get_All_Devices_Return
typedef struct E_Hal_String_List_Return E_Hal_Manager_Get_All_Devices_Return |
◆ E_Hal_Manager_New_Capability
typedef struct E_Hal_Capability E_Hal_Manager_New_Capability |
◆ E_Hal_Properties
typedef struct E_Hal_Properties E_Hal_Properties |
◆ E_Hal_Property
typedef struct E_Hal_Property E_Hal_Property |
◆ E_Hal_String_List_Return
typedef struct E_Hal_String_List_Return E_Hal_String_List_Return |
Enumeration Type Documentation
◆ E_Hal_Property_Type
enum E_Hal_Property_Type |
Function Documentation
◆ e_hal_device_get_all_properties()
EAPI DBusPendingCall * e_hal_device_get_all_properties | ( | E_DBus_Connection * | conn, |
const char * | udi, | ||
E_DBus_Callback_Func | cb_func, | ||
void * | data | ||
) |
References e_dbus_method_call_send(), and e_hal_device_call_new.
◆ e_hal_device_get_property()
EAPI DBusPendingCall * e_hal_device_get_property | ( | E_DBus_Connection * | conn, |
const char * | udi, | ||
const char * | property, | ||
E_DBus_Callback_Func | cb_func, | ||
void * | data | ||
) |
References e_dbus_method_call_send(), and e_hal_device_call_new.
◆ e_hal_device_query_capability()
EAPI DBusPendingCall * e_hal_device_query_capability | ( | E_DBus_Connection * | conn, |
const char * | udi, | ||
const char * | capability, | ||
E_DBus_Callback_Func | cb_func, | ||
void * | data | ||
) |
References e_dbus_method_call_send(), and e_hal_device_call_new.
◆ e_hal_device_volume_eject()
EAPI DBusPendingCall * e_hal_device_volume_eject | ( | E_DBus_Connection * | conn, |
const char * | udi, | ||
Eina_List * | options, | ||
E_DBus_Callback_Func | cb_func, | ||
void * | data | ||
) |
Eject a Volume.
- Parameters
-
conn the E_DBus_Connection udi the udi of the device object options a list of additional options (not sure... fstype dependent?) cb_func an optional callback to call when the eject is done data cuatom data pointer for the callback function
References e_dbus_method_call_send(), e_hal_device_volume_call_new, and ERR.
◆ e_hal_device_volume_mount()
EAPI DBusPendingCall * e_hal_device_volume_mount | ( | E_DBus_Connection * | conn, |
const char * | udi, | ||
const char * | mount_point, | ||
const char * | fstype, | ||
Eina_List * | options, | ||
E_DBus_Callback_Func | cb_func, | ||
void * | data | ||
) |
Mount a Volume.
- Parameters
-
conn the E_DBus_Connection udi the udi of the device object mount_point the path to mount to, or null for default fstype the fstype of the device (e.g. volume.fstype property) options a list of additional options (not sure... fstype dependent?) cb_func an optional callback to call when the mount is done data custom data pointer for the callback function
References e_dbus_method_call_send(), e_hal_device_volume_call_new, and ERR.
◆ e_hal_device_volume_unmount()
EAPI DBusPendingCall * e_hal_device_volume_unmount | ( | E_DBus_Connection * | conn, |
const char * | udi, | ||
Eina_List * | options, | ||
E_DBus_Callback_Func | cb_func, | ||
void * | data | ||
) |
Unmount a Volume.
- Parameters
-
conn the E_DBus_Connection udi the udi of the device object options a list of additional options (not sure... fstype dependent?) cb_func an optional callback to call when the unmount is done data cuatom data pointer for the callback function
References e_dbus_method_call_send(), e_hal_device_volume_call_new, and ERR.
◆ e_hal_init()
EAPI int e_hal_init | ( | void | ) |
References _e_dbus_hal_init_count, _e_dbus_hal_log_dom, E_DBUS_COLOR_DEFAULT, e_dbus_init(), and ERR.
◆ e_hal_manager_device_exists()
EAPI DBusPendingCall * e_hal_manager_device_exists | ( | E_DBus_Connection * | conn, |
const char * | udi, | ||
E_DBus_Callback_Func | cb_func, | ||
void * | data | ||
) |
References e_dbus_method_call_send(), and e_hal_manager_call_new.
◆ e_hal_manager_find_device_by_capability()
EAPI DBusPendingCall * e_hal_manager_find_device_by_capability | ( | E_DBus_Connection * | conn, |
const char * | capability, | ||
E_DBus_Callback_Func | cb_func, | ||
void * | data | ||
) |
References e_dbus_method_call_send(), and e_hal_manager_call_new.
◆ e_hal_manager_find_device_string_match()
EAPI DBusPendingCall * e_hal_manager_find_device_string_match | ( | E_DBus_Connection * | conn, |
const char * | key, | ||
const char * | value, | ||
E_DBus_Callback_Func | cb_func, | ||
void * | data | ||
) |
References e_dbus_method_call_send(), and e_hal_manager_call_new.
◆ e_hal_manager_get_all_devices()
EAPI DBusPendingCall * e_hal_manager_get_all_devices | ( | E_DBus_Connection * | conn, |
E_DBus_Callback_Func | cb_func, | ||
void * | data | ||
) |
References e_dbus_method_call_send(), and e_hal_manager_call_new.
◆ e_hal_property_bool_get()
EAPI Eina_Bool e_hal_property_bool_get | ( | E_Hal_Properties * | properties, |
const char * | key, | ||
int * | err | ||
) |
References E_Hal_Property::b, E_Hal_Properties::properties, and E_Hal_Property::val.
◆ e_hal_property_double_get()
EAPI double e_hal_property_double_get | ( | E_Hal_Properties * | properties, |
const char * | key, | ||
int * | err | ||
) |
References E_Hal_Property::d, E_Hal_Properties::properties, and E_Hal_Property::val.
◆ e_hal_property_free()
EAPI void e_hal_property_free | ( | E_Hal_Property * | prop | ) |
◆ e_hal_property_int_get()
EAPI int e_hal_property_int_get | ( | E_Hal_Properties * | properties, |
const char * | key, | ||
int * | err | ||
) |
References E_Hal_Property::i, E_Hal_Properties::properties, and E_Hal_Property::val.
◆ e_hal_property_string_get()
EAPI const char * e_hal_property_string_get | ( | E_Hal_Properties * | properties, |
const char * | key, | ||
int * | err | ||
) |
Retrive a string from an element of a property hash.
- Parameters
-
properties the E_Hal_Properties structure key the key of the property to retrieve err a pointer to an int, which if supplied, will be set to 0 on success and 1 on an error
References E_Hal_Properties::properties, E_Hal_Property::s, and E_Hal_Property::val.
◆ e_hal_property_strlist_get()
EAPI const Eina_List * e_hal_property_strlist_get | ( | E_Hal_Properties * | properties, |
const char * | key, | ||
int * | err | ||
) |
References E_Hal_Properties::properties, E_Hal_Property::strlist, and E_Hal_Property::val.
◆ e_hal_property_uint64_get()
EAPI uint64_t e_hal_property_uint64_get | ( | E_Hal_Properties * | properties, |
const char * | key, | ||
int * | err | ||
) |
References E_Hal_Properties::properties, E_Hal_Property::u64, and E_Hal_Property::val.
◆ e_hal_shutdown()
EAPI int e_hal_shutdown | ( | void | ) |
References _e_dbus_hal_init_count, _e_dbus_hal_log_dom, and e_dbus_shutdown().