AfDal Request Notifier Module: Request status notification and filtering API


Typedefs

typedef gboolean(* AfDalRequestNotifierFilter )(gchar *service, gpointer user_data)
 Handler definition for request filtering.
typedef void(* AfDalRequestNotifierStatus )(gchar *service, AfDalRequestStage stage, gint pending_replies, gpointer user_data)
 Handler definition for request status notifier.

Enumerations

enum  AfDalRequestNotifierMode { REQUEST_MODE_NOT_DEFINED, REQUEST_MODE_THREADED, REQUEST_MODE_EVENT_SOURCE }
 Notifier invocation mode. More...
enum  AfDalRequestStage {
  REQUEST_STAGE_NOT_DEFINED, REQUEST_INIT, REQUEST_FILTERED, REQUEST_ERROR,
  REQUEST_SENT_OK, REQUEST_SENT_FAIL, REQUEST_RECEIVED_OK, REQUEST_RECEIVED_ERROR,
  REQUEST_PROCESS, REQUEST_DELIVER_SUSPENDED, REQUEST_DELIVERED
}
 Request stage enumerator. More...

Functions

void afdal_request_notifier_filter_set (AfDalRequestNotifierFilter filter_handler, gpointer user_data)
 Allows to set a filter function to be used to allow or disallow request to be done.
void afdal_request_notifier_status_set (AfDalRequestNotifierStatus status_handler, AfDalRequestNotifierMode mode, gpointer user_data)
 Allows to set a status notifier used to notify request status.
void afdal_request_notifier_status_step (gint step)
 Allows to set how many stage changes are signaled before the next.