check_context


Description:

[ Version ( since = "0.20.5" ) ]
public bool check_context (Context context)

It will check if the context is allowed or not.

The this will check all its entries againt Context interface, host ip and network fields information. This function doesn't take into account the this status (enabled or not).

Parameters:

this

A WhiteList

context

A Context to test.

Returns:

true if context is matching the this criterias, false otherwise.




2022 vala-language.org