|
BSL v1.0.0 - 4.g1b6a605
AMMOS Bundle Protocol Security Library (BSL)
|
Declarations for Bundle storage. More...
Include dependency graph for bundle.h:
This graph shows which files directly or indirectly include this file:Data Structures | |
| struct | MockBPA_CreationTimestamp_t |
| Timestamp according to Section 4.2.7 of RFC 9171 [6]. More... | |
| struct | MockBPA_PrimaryBlock_t |
| Structure of the primary block according to Section 4.3.1 of RFC 9171 [6]. More... | |
| struct | MockBPA_CanonicalBlock_t |
| Structure of each canonical block according to Section 4.3.2 of RFC 9171 [6]. More... | |
| struct | MockBPA_Bundle_t |
Functions | |
| int | MockBPA_Bundle_Init (MockBPA_Bundle_t *bundle) |
| Initialize an empty not-really-valid bundle. | |
| int | MockBPA_Bundle_Deinit (MockBPA_Bundle_t *bundle) |
| Deinitialize any bundle storage. | |
Declarations for Bundle storage.
| int MockBPA_Bundle_Deinit | ( | MockBPA_Bundle_t * | bundle | ) |
Deinitialize any bundle storage.
This includes freeing any BTSD.
| [out] | bundle | The struct. |
References MockBPA_Bundle_t::blocks, MockBPA_Bundle_t::blocks_num, BSL_Data_Deinit(), BSL_FREE, BSL_HostEID_Deinit(), BSL_LOG_DEBUG, MockBPA_CanonicalBlock_t::btsd, and MockBPA_PrimaryBlock_t::encoded.
| int MockBPA_Bundle_Init | ( | MockBPA_Bundle_t * | bundle | ) |
Initialize an empty not-really-valid bundle.
| [out] | bundle | The struct. |
References MockBPA_Bundle_t::blocks, and MockBPA_Bundle_t::blocks_num.