ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_fmt_host_transaction_t Struct Reference

Caller-owned state for one sibling-file transaction. More...

#include <ra8_fmt_host_fd_internal.h>

Data Fields

int parent_fd
 Owned parent directory.
int stage_fd
 Owned staging descriptor.
uint64_t position
 Bytes appended so far.
char stage_name [k_ra8_fmt_host_name_cap]
 Staging leaf name.
char final_name [k_ra8_fmt_host_name_cap]
 Destination leaf name.
bool stage_exists
 Stage still needs unlink.
bool active
 Transaction is usable.

Detailed Description

Caller-owned state for one sibling-file transaction.

Definition at line 48 of file ra8_fmt_host_fd_internal.h.

Field Documentation

◆ active

bool ra8_fmt_host_transaction_t::active

◆ final_name

char ra8_fmt_host_transaction_t::final_name[k_ra8_fmt_host_name_cap]

Destination leaf name.

Definition at line 53 of file ra8_fmt_host_fd_internal.h.

Referenced by internal_stage_name(), internal_transaction_commit(), and priv_fmt_host_transaction_begin().

◆ parent_fd

int ra8_fmt_host_transaction_t::parent_fd

Owned parent directory.

Definition at line 49 of file ra8_fmt_host_fd_internal.h.

Referenced by internal_transaction_abort(), internal_transaction_commit(), and priv_fmt_host_transaction_begin().

◆ position

uint64_t ra8_fmt_host_transaction_t::position

Bytes appended so far.

Definition at line 51 of file ra8_fmt_host_fd_internal.h.

Referenced by internal_transaction_append().

◆ stage_exists

bool ra8_fmt_host_transaction_t::stage_exists

Stage still needs unlink.

Definition at line 54 of file ra8_fmt_host_fd_internal.h.

Referenced by internal_transaction_abort(), internal_transaction_commit(), and priv_fmt_host_transaction_begin().

◆ stage_fd

int ra8_fmt_host_transaction_t::stage_fd

◆ stage_name

char ra8_fmt_host_transaction_t::stage_name[k_ra8_fmt_host_name_cap]

The documentation for this struct was generated from the following file: