|
BSL v1.1.1 - 88.g2613f3a
AMMOS Bundle Protocol Security Library (BSL)
|
Declaration of BSL state within bundle references. More...
Include dependency graph for BundleRefState.h:
This graph shows which files directly or indirectly include this file:Data Structures | |
| struct | BSL_BundleRefState_t |
| Internal BSL state associated with each bundle at each interaction point. More... | |
Functions | |
| void | BSL_BundleRefState_Init (BSL_BundleRefState_t *obj) |
| Initialize an empty reference state. | |
| void | BSL_BundleRefState_Deinit (BSL_BundleRefState_t *obj) |
| De-initialize an empty reference state. | |
| int | BSL_BundleRefState_CacheASB (BSL_BundleRefState_t *obj, const BSL_BundleRef_t *bundle, const BSL_CanonicalBlock_t *block) |
| Decode and cache an existing ASB. | |
| void | BSL_BundleRefState_RepopulateTgts (BSLB_AsbPtrSetMap_t map, BSL_AbsSecBlockPtr_t *asb_ptr) |
| Re-populate a target map for an existing ASB. | |
Declaration of BSL state within bundle references.
| int BSL_BundleRefState_CacheASB | ( | BSL_BundleRefState_t * | obj, |
| const BSL_BundleRef_t * | bundle, | ||
| const BSL_CanonicalBlock_t * | block | ||
| ) |
Decode and cache an existing ASB.
| [in] | obj | The state to cache into. |
| [in] | bundle | The BTSD reading context.. |
| [in] | block | The block info to read from. |
| void BSL_BundleRefState_Deinit | ( | BSL_BundleRefState_t * | obj | ) |
De-initialize an empty reference state.
| [in] | obj | The struct to de-initialize. |
References ASSERT_ARG_NONNULL, BSL_BundleRefState_t::bcb_tgts, BSL_BundleRefState_t::bcbs, BSL_BundleRefState_t::bib_tgts, BSL_BundleRefState_t::bibs, and BSL_BundleRefState_t::correlations.
Referenced by BSL_BundleRef_Deinit().
| void BSL_BundleRefState_Init | ( | BSL_BundleRefState_t * | obj | ) |
Initialize an empty reference state.
| [out] | obj | The struct to initialize. |
References ASSERT_ARG_NONNULL, BSL_BundleRefState_t::bcb_tgts, BSL_BundleRefState_t::bcbs, BSL_BundleRefState_t::bib_tgts, BSL_BundleRefState_t::bibs, and BSL_BundleRefState_t::correlations.
Referenced by BSL_BundleRef_Init().
| void BSL_BundleRefState_RepopulateTgts | ( | BSLB_AsbPtrSetMap_t | map, |
| BSL_AbsSecBlockPtr_t * | asb_ptr | ||
| ) |
Re-populate a target map for an existing ASB.
References BSL_AbsSecBlock_Target_t::target_block_num.
Referenced by BSL_BundleRefState_CacheASB(), BSL_ExecBCBSource(), BSL_ExecBCBVerifierAcceptor(), BSL_ExecBIBSource(), and BSL_ExecBIBVerifierAcceptor().