Rtos API example

Embed: (wiki syntax)

« Back to documentation index

_SequentialFlashJournalHeader Struct Reference

_SequentialFlashJournalHeader Struct Reference

Meta-data placed at the head of a Journal. More...

#include <flash_journal_private.h>

Data Fields

uint32_t magic
 Generic meta-data placed at the head of a Journal; common to all journal types.
uint32_t version
 Sequential journal header specific magic code.
uint32_t numSlots
 Revision number for this sequential journal header.
uint32_t sizeofSlot
 Maximum number of logged blobs; i.e.

Detailed Description

Meta-data placed at the head of a Journal.

The actual header would be an extension of this generic header, and would depend on the implementation strategy. Initialization algorithms can expect to find this generic header at the start of every Journal.

Definition at line 61 of file flash_journal_private.h.


Field Documentation

uint32_t magic

Generic meta-data placed at the head of a Journal; common to all journal types.

Definition at line 63 of file flash_journal_private.h.

uint32_t numSlots

Revision number for this sequential journal header.

Definition at line 65 of file flash_journal_private.h.

uint32_t sizeofSlot

Maximum number of logged blobs; i.e.

maximum number of versions of the journaled payload.

Definition at line 66 of file flash_journal_private.h.

uint32_t version

Sequential journal header specific magic code.

Definition at line 64 of file flash_journal_private.h.