D-Bus NameOwnerChanged message handling
[ICd internal functions]


Defines

#define ICD_NAME_OWNER_FILTER_STRING   "member='NameOwnerChanged',arg0='%s'"

Functions

static DBusHandlerResult icd_name_owner_filter (DBusConnection *connection, DBusMessage *message, void *user_data)
gboolean icd_name_owner_remove_filter (const gchar *application)
gboolean icd_name_owner_add_filter (const gchar *application)
gboolean icd_name_owner_init (struct icd_context *icd_ctx)

Function Documentation

gboolean icd_name_owner_add_filter ( const gchar *  application  ) 

Add a filter for NameOwnerChanged signals for a specific application

Parameters:
application application D-Bus id
Returns:
the return status of icd_dbus_connect_system_bcast_signal

static DBusHandlerResult icd_name_owner_filter ( DBusConnection *  connection,
DBusMessage *  message,
void *  user_data 
) [static]

D-Bus filter function for NameOwnerChanged messages

Parameters:
connection D-Bus system bus
message D-Bus message
user_data icd context
Returns:
DBUS_HANDLER_RESULT_NOT_YET_HANDLED

gboolean icd_name_owner_init ( struct icd_context icd_ctx  ) 

Initialize NameOwnerChanged filtering

Parameters:
icd_ctx icd context
Returns:
TRUE on success, FALSE on failure

gboolean icd_name_owner_remove_filter ( const gchar *  application  ) 

Remove a filter for NameOwnerChanged signals for a specific application

Parameters:
application application D-Bus id
Returns:
the return status of icd_dbus_disconnect_system_bcast_signal


Generated on Tue Feb 24 16:21:36 2009 for ICd2 by  doxygen 1.5.1