typedef gboolean(* AfDalRequestNotifierFilter)(gchar *service, gpointer user_data)
 

Handler definition for request filtering.

This handler is used at afdal_request_notifier_filter_set function and the by LibAfDal layer to know if a request to the given service must or not be allowed.

This handler must return TRUE to allow the request to be performed. If this handler returns FALSE the request is considered filtered.

Parameters:
service The service name to check for filtering.
user_data User data defined at afdal_request_notifier_filter_set.
Returns:
TRUE to allow request. FALSE to filter it (not allow).