BSL v0.0.0
AMMOS Bundle Protocol Security Library (BSL)
|
Defines interactions with an external Policy Provider. More...
Go to the source code of this file.
Functions | |
int | BSL_PolicyRegistry_InspectActions (const BSL_LibCtx_t *bsl, BSL_SecurityActionSet_t *output_action_set, const BSL_BundleRef_t *bundle, BSL_PolicyLocation_e location) |
Queries the policy provider for any security operations to take on the bundle. | |
Defines interactions with an external Policy Provider.
Definition in file PolicyProvider.c.
int BSL_PolicyRegistry_InspectActions | ( | const BSL_LibCtx_t * | bsl, |
BSL_SecurityActionSet_t * | output_action_set, | ||
const BSL_BundleRef_t * | bundle, | ||
BSL_PolicyLocation_e | location | ||
) |
Queries the policy provider for any security operations to take on the bundle.
[in] | self | This policy provider. |
[out] | output_action_set | [Zeroed, pre-allocated and memory owned by caller] Caller-allocated, zeroed space for action set |
[in,out] | bundle | Bundle seeking security operations |
[in] | location | Where in the BPA lifecycle this query arises from |
Definition at line 31 of file PolicyProvider.c.
References BSL_PolicyDesc_s::query_fn.