Tizen Native API  3.0

Functions

int eldbus_init (void)
 Initialize eldbus.
int eldbus_shutdown (void)
 Shutdown eldbus.

Typedefs

typedef struct _Eldbus_Version Eldbus_Version
typedef void(* Eldbus_Free_Cb )(void *data, const void *deadptr)
typedef struct _Eldbus_Connection Eldbus_Connection
typedef struct _Eldbus_Object Eldbus_Object
typedef struct _Eldbus_Proxy Eldbus_Proxy
typedef struct _Eldbus_Message Eldbus_Message
typedef struct _Eldbus_Message_Iter Eldbus_Message_Iter
typedef struct _Eldbus_Pending Eldbus_Pending
typedef struct
_Eldbus_Signal_Handler 
Eldbus_Signal_Handler
typedef void(* Eldbus_Message_Cb )(void *data, const Eldbus_Message *msg, Eldbus_Pending *pending)
typedef void(* Eldbus_Signal_Cb )(void *data, const Eldbus_Message *msg)

Defines

#define ELDBUS_VERSION_MAJOR   EFL_VERSION_MAJOR
#define ELDBUS_VERSION_MINOR   EFL_VERSION_MINOR
#define ELDBUS_FDO_BUS   "org.freedesktop.DBus"
#define ELDBUS_FDO_PATH   "/org/freedesktop/DBus"
#define ELDBUS_FDO_INTERFACE   ELDBUS_FDO_BUS
#define ELDBUS_FDO_INTERFACE_PROPERTIES   "org.freedesktop.DBus.Properties"
#define ELDBUS_FDO_INTERFACE_OBJECT_MANAGER   "org.freedesktop.DBus.ObjectManager"
#define ELDBUS_FDO_INTERFACE_INTROSPECTABLE   "org.freedesktop.DBus.Introspectable"
#define ELDBUS_FDO_INTEFACE_PEER   "org.freedesktop.DBus.Peer"
#define ELDBUS_ERROR_PENDING_CANCELED   "org.enlightenment.DBus.Canceled"
#define ELDBUS_ERROR_PENDING_TIMEOUT   "org.freedesktop.DBus.Error.NoReply"

Define Documentation

#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

#define ELDBUS_FDO_BUS   "org.freedesktop.DBus"

DBus message bus name

Examples:
banshee.c.
#define ELDBUS_FDO_INTEFACE_PEER   "org.freedesktop.DBus.Peer"

DBus Peer interface

DBus message bus interface

Examples:
banshee.c.
#define ELDBUS_FDO_INTERFACE_INTROSPECTABLE   "org.freedesktop.DBus.Introspectable"

DBus Introspectable interface

#define ELDBUS_FDO_INTERFACE_OBJECT_MANAGER   "org.freedesktop.DBus.ObjectManager"

DBus ObjectManager interface

#define ELDBUS_FDO_INTERFACE_PROPERTIES   "org.freedesktop.DBus.Properties"

DBus Properties interface

#define ELDBUS_FDO_PATH   "/org/freedesktop/DBus"

Object that implements message bus interface

Examples:
banshee.c.
#define ELDBUS_VERSION_MAJOR   EFL_VERSION_MAJOR

Eldbus version major number

#define ELDBUS_VERSION_MINOR   EFL_VERSION_MINOR

Eldbus version minor number


Typedef Documentation

Represents a connection of one the type of connection with the DBus daemon.

Callback that is called when the connection is freed.

Represents the way data is sent and received in DBus.

Callback that is called when answer of a method call message comes.

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.

Represents an object path already attached with bus name or unique id.

Represents a message that has been sent but has not yet reached its destination.

Represents an interface of an object path.

Callback that is called when a signal is received.

Represents a listener that will listen for signals emitted by other applications.

Represents the current version of Eldbus


Function Documentation

int eldbus_init ( void  )

Initialize eldbus.

Returns:
1 or greater on success, 0 otherwise
Since :
3.0
Examples:
banshee.c, client.c, complex-types-client-eina-value.c, complex-types-server.c, complex-types.c, connman-list-services.c, ofono-dial.c, server.c, and simple-signal-emit.c.
int eldbus_shutdown ( void  )

Shutdown eldbus.

Returns:
0 if e_dbus shuts down, greater than 0 otherwise.
Since :
3.0
Examples:
banshee.c, client.c, complex-types-client-eina-value.c, complex-types-server.c, complex-types.c, connman-list-services.c, ofono-dial.c, server.c, and simple-signal-emit.c.

Variable Documentation

Global Eldbus_Version object