Data Structures | |
struct | osso_rpc_t |
Typedefs | |
typedef gint( | osso_rpc_cb_f )(const gchar *interface, const gchar *method, GArray *arguments, gpointer data, osso_rpc_t *retval) |
typedef void( | osso_rpc_async_f )(const gchar *interface, const gchar *method, osso_rpc_t *retval, gpointer data) |
Functions | |
osso_return_t | osso_rpc_run (osso_context_t *osso, const gchar *service, const gchar *object_path, const gchar *interface, const gchar *method, osso_rpc_t *retval, int argument_type,...) |
osso_return_t | osso_rpc_run_with_defaults (osso_context_t *osso, const gchar *application, const gchar *method, osso_rpc_t *retval, int argument_type,...) |
osso_return_t | osso_rpc_async_run (osso_context_t *osso, const gchar *service, const gchar *object_path, const gchar *interface, const gchar *method, osso_rpc_async_f *async_cb, gpointer data, int argument_type,...) |
osso_return_t | osso_rpc_async_run_with_defaults (osso_context_t *osso, const gchar *application, const gchar *method, osso_rpc_async_f *async_cb, gpointer data, int argument_type,...) |
osso_return_t | osso_rpc_set_cb_f (osso_context_t *osso, const gchar *service, const gchar *object_path, const gchar *interface, osso_rpc_cb_f *cb, gpointer data) |
osso_return_t | osso_rpc_set_default_cb_f (osso_context_t *osso, osso_rpc_cb_f *cb, gpointer data) |
osso_return_t | osso_rpc_unset_cb_f (osso_context_t *osso, const gchar *service, const gchar *object_path, const gchar *interface, osso_rpc_cb_f *cb, gpointer data) |
osso_return_t | osso_rpc_unset_default_cb_f (osso_context_t *osso, osso_rpc_cb_f *cb, gpointer data) |
osso_return_t | osso_rpc_get_timeout (osso_context_t *osso, gint *timeout) |
osso_return_t | osso_rpc_set_timeout (osso_context_t *osso, gint timeout) |
|
This is the type for the asyncronous rpc return handler. This function is called when the asynchronous function returns.
|
|
This is the type for the generic rpc handler. This function is called every time a method is requested on thr registered interface.
|
|
This function sends a message to an other application, using D-BUS with asyncronous return value if needed. This function will try to activate the application that has registered the service with the D-BUS daemon, by using the D-BUS auto-activation feature.
|
|
This function sends a message to an other application, using D-BUS with asyncronous return value if needed. The service is defaulted to 'com.nokia.{application}', the object path is set to '/com/nokia/{application}' and the interface is defaulted to 'com.nokia.{application}'. This function will try to activate the application, by using the D-BUS auto-activation feature.
|
|
Sets the timeout value used by rpc functions.
|
|
This function sends a message to an other application, using D-BUS with syncronous return value if needed. This function will try to activate the application that has registered the service with the D-BUS daemon, by using the D-BUS auto-activation feature. The variable arguments work in a type - value pairs. The type defines the value. If the type is G_TYPE_STRING, then the value is a pointer to a string. The list must end in a DBUS_TYPE_INVALID. The supported types are:
|
|
This function is a wrapper for osso_rpc_run. It calls a remote method on the destination. The service is defaulted to 'com.nokia.{application}', the object path is set to '/com/nokia/{application}' and the interface is defaulted to 'com.nokia.{application}'. This function will try to activate the application, by using the D-BUS auto-activation feature.
|
|
This function registers a function to handle specific method calls with the given interface reachable by the give object path and service name.
|
|
This function registers a function to handle specific method calls to the default service of 'com.nokia.{application}'.
|
|
Returns the current timeout value.
|
|
This function unregisters a function to handle specific method calls.
|
|
This function unregisters a function to handle specific method calls.
|