Function

GUPnPwhite_list_add_entry

Declaration [src]

gboolean
gupnp_white_list_add_entry (
  GUPnPWhiteList* white_list,
  const gchar* entry
)

Description [src]

Add entry in the list of valid criteria used by white_list to filter networks. if entry already exists, it won’t be added a second time.

Available since:0.20.5
Deprecated since:1.4.0

Use gupnp_context_filter_add_entry() instead.

Parameters

white_list GUPnPWhiteList
 

A GUPnPWhiteList.

 The data is owned by the caller of the function.
entry const gchar*
 

A value used to filter network.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: gboolean
 

TRUE if entry is added, FALSE otherwise.