Data Structures | |
struct | _Eldbus_Version |
Macros | |
#define | ELDBUS_VERSION_MAJOR EFL_VERSION_MAJOR |
Eldbus version major number. | |
#define | ELDBUS_VERSION_MINOR EFL_VERSION_MINOR |
Eldbus version minor number. | |
#define | ELDBUS_FDO_BUS "org.freedesktop.DBus" |
DBus message bus name. | |
#define | ELDBUS_FDO_PATH "/org/freedesktop/DBus" |
Object that implements message bus interface. | |
#define | ELDBUS_FDO_INTERFACE ELDBUS_FDO_BUS |
DBus message bus interface. | |
#define | ELDBUS_FDO_INTERFACE_PROPERTIES "org.freedesktop.DBus.Properties" |
DBus Properties interface. | |
#define | ELDBUS_FDO_INTERFACE_OBJECT_MANAGER "org.freedesktop.DBus.ObjectManager" |
DBus ObjectManager interface. | |
#define | ELDBUS_FDO_INTERFACE_INTROSPECTABLE "org.freedesktop.DBus.Introspectable" |
DBus Introspectable interface. | |
#define | ELDBUS_FDO_INTEFACE_PEER "org.freedesktop.DBus.Peer" |
DBus Peer interface. | |
#define | ELDBUS_ERROR_PENDING_CANCELED "org.enlightenment.DBus.Canceled" |
Canceled error answer. | |
#define | ELDBUS_ERROR_PENDING_TIMEOUT "org.freedesktop.DBus.Error.NoReply" |
Timeout error answer. | |
Typedefs | |
typedef struct _Eldbus_Version | Eldbus_Version |
Represents the current version of Eldbus. | |
typedef void(* | Eldbus_Free_Cb) (void *data, const void *deadptr) |
Callback that is called when the connection is freed. | |
typedef struct _Eldbus_Connection | Eldbus_Connection |
Represents a connection of one the type of connection with the DBus daemon. | |
typedef struct _Eldbus_Object | Eldbus_Object |
Represents an object path already attached with bus name or unique id. | |
typedef struct _Eldbus_Proxy | Eldbus_Proxy |
Represents an interface of an object path. | |
typedef struct _Eldbus_Message | Eldbus_Message |
Represents the way data is sent and received in DBus. | |
typedef struct _Eldbus_Message_Iter | Eldbus_Message_Iter |
Represents an iterator over a complex message type (array, dict, struct, or variant). More... | |
typedef struct _Eldbus_Pending | Eldbus_Pending |
Represents a message that has been sent but has not yet reached its destination. | |
typedef struct _Eldbus_Signal_Handler | Eldbus_Signal_Handler |
Represents a listener that will listen for signals emitted by other applications. | |
typedef void(* | Eldbus_Message_Cb) (void *data, const Eldbus_Message *msg, Eldbus_Pending *pending) |
Callback that is called when answer of a method call message comes. | |
typedef void(* | Eldbus_Signal_Cb) (void *data, const Eldbus_Message *msg) |
Callback that is called when a signal is received. | |
Functions | |
EAPI int | eldbus_init (void) |
Initialize eldbus. More... | |
EAPI int | eldbus_shutdown (void) |
Shutdown eldbus. More... | |
Variables | |
EAPI const Eldbus_Version * | eldbus_version |
Global Eldbus_Version object. | |
Represents an iterator over a complex message type (array, dict, struct, or variant).
Its life is bound to the message that contains it. The same applies to the returned data.
EAPI int eldbus_init | ( | void | ) |
Initialize eldbus.
References ecore_init(), ecore_shutdown(), eina_hash_iterator_data_new(), eina_init(), EINA_INLIST_FOREACH, EINA_ITERATOR_FOREACH, eina_iterator_free(), eina_log_domain_register(), eina_log_domain_unregister(), EINA_LOG_ERR, eina_magic_string_set(), eina_shutdown(), eldbus_pending_destination_get(), eldbus_pending_interface_get(), eldbus_pending_method_get(), eldbus_pending_path_get(), and ERR.
Referenced by eldbus_service_object_unregister(), eldbus_shutdown(), elocation_init(), and ethumb_client_init().
EAPI int eldbus_shutdown | ( | void | ) |
Shutdown eldbus.
References _Eina_Hash_Tuple::data, DBG, ECORE_CALLBACK_CANCEL, ECORE_CALLBACK_RENEW, ECORE_FD_ERROR, ECORE_FD_READ, ECORE_FD_WRITE, ecore_idler_add(), ecore_idler_del(), ecore_main_fd_handler_active_get(), ecore_main_fd_handler_add(), ecore_main_fd_handler_del(), ecore_shutdown(), ecore_timer_add(), ecore_timer_del(), EINA_FALSE, eina_hash_add(), eina_hash_del(), eina_hash_direct_add(), eina_hash_find(), eina_hash_free(), eina_hash_iterator_tuple_new(), eina_hash_population(), eina_hash_string_superfast_new(), EINA_INLIST, eina_inlist_append(), EINA_INLIST_CONTAINER_GET, EINA_INLIST_FOREACH, EINA_INLIST_GET, eina_inlist_prepend(), eina_inlist_promote(), eina_inlist_remove(), EINA_ITERATOR_FOREACH, eina_iterator_free(), eina_list_free(), eina_log_domain_unregister(), EINA_MAGIC_SET, eina_shutdown(), eina_stringshare_add(), eina_stringshare_del(), EINA_TRUE, EINA_UNUSED, eldbus_connection_ref(), ELDBUS_CONNECTION_TYPE_LAST, ELDBUS_CONNECTION_TYPE_UNKNOWN, eldbus_connection_unref(), ELDBUS_ERROR_PENDING_CANCELED, ELDBUS_FDO_BUS, ELDBUS_FDO_INTERFACE, ELDBUS_FDO_PATH, eldbus_init(), eldbus_message_arguments_get(), eldbus_message_error_get(), eldbus_message_unref(), eldbus_name_owner_get(), eldbus_object_get(), eldbus_pending_cancel(), eldbus_proxy_get(), eldbus_signal_handler_add(), eldbus_signal_handler_del(), eldbus_signal_handler_match_extra_set(), eldbus_signal_handler_ref(), eldbus_signal_handler_unref(), ERR, _Eina_Hash_Tuple::key, and _Eina_Inlist::next.
Referenced by eldbus_service_object_unregister(), elocation_shutdown(), and ethumb_client_shutdown().