GUPnP.white_list_check_context
Description: Reference for GUPnP.white_list_check_context

### Function

# GUPnPwhite_list_check_context

#### Declaration [src]

    gboolean
    gupnp_white_list_check_context (
      GUPnPWhiteList* white_list,
      GUPnPContext* context
    )

#### Description [src]

It will check if the `context` is allowed or not. The `white_list` will check all its entries againt `GUPnPContext` interface, host ip and network fields information. This function doesn’t take into account the `white_list` status (enabled or not).

Available since: | 0.20.5
Deprecated since: | 1.4.0
Use `gupnp_context_filter_check_context()` instead.

#### Parameters

`white_list` | `GUPnPWhiteList`
| A `GUPnPWhiteList`.
| The data is owned by the caller of the function.
`context` | `GUPnPContext`
| A `GUPnPContext` to test.
| The data is owned by the caller of the function.

#### Return value

Returns: | `gboolean`
| `TRUE` if `context` is matching the `white_list` criterias, `FALSE` otherwise.