Function

SoupAuthDomainFilter

Declaration

gboolean
(* SoupAuthDomainFilter) (
  SoupAuthDomain* domain,
  SoupServerMessage* msg,
  gpointer user_data
)

Description [src]

The prototype for a SoupAuthDomain filter.

See soup_auth_domain_set_filter() for details.

Parameters

domain SoupAuthDomain
 

A SoupAuthDomain.

 The data is owned by the caller of the function.
msg SoupServerMessage
 

A SoupServerMessage.

 The data is owned by the caller of the function.
user_data gpointer
 

The data passed to soup_auth_domain_set_filter()

Return value

Returns: gboolean
 

TRUE if msg requires authentication, FALSE if not.