rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
fm_job_t Struct Reference

One job. The fields are the job's; the screen reads them through fm_job_state(). More...

#include <fm_ops.h>

Data Fields

fm_job_kind_t kind
fm_job_state_t state
fm_err_t err
int step
unsigned mount
bool cancel
bool is_dir
bool dst_was
bool note_restart
char src [FM_PATH_SIZE]
char dst [FM_PATH_SIZE]
char tmp [FM_PATH_SIZE]
void * in
void * out
uint64_t done
uint64_t total
fm_fill_fn fill
void * fill_ctx
uint8_t * buf
size_t cap

Detailed Description

One job. The fields are the job's; the screen reads them through fm_job_state().

Field Documentation

◆ buf

uint8_t* fm_job_t::buf

a load's room

◆ cancel

bool fm_job_t::cancel

CANCEL was pressed

◆ cap

size_t fm_job_t::cap

bytes buf takes

◆ done

uint64_t fm_job_t::done

bytes copied, saved or loaded

◆ dst

char fm_job_t::dst[FM_PATH_SIZE]

the target's path

◆ dst_was

bool fm_job_t::dst_was

SAVE: the file was there at the open

◆ err

fm_err_t fm_job_t::err

why it stopped or failed

◆ fill

fm_fill_fn fm_job_t::fill

a save's bytes

◆ fill_ctx

void* fm_job_t::fill_ctx

passed to fill

◆ in

void* fm_job_t::in

the open source, or NULL

◆ is_dir

bool fm_job_t::is_dir

MOVE, RENAME, DELETE: the entry is a folder

◆ kind

fm_job_kind_t fm_job_t::kind

what it does

◆ mount

unsigned fm_job_t::mount

the mount its names are from

◆ note_restart

bool fm_job_t::note_restart

a saved ESC profile: read at the next start (fm_read_at_start())

◆ out

void* fm_job_t::out

the open ".NEW", or NULL

◆ src

char fm_job_t::src[FM_PATH_SIZE]

the source's path

◆ state

fm_job_state_t fm_job_t::state

where it stands

◆ step

int fm_job_t::step

the step to run next (fm_ops.c)

◆ tmp

char fm_job_t::tmp[FM_PATH_SIZE]

the target's ".NEW", or the report a DELETE takes along

◆ total

uint64_t fm_job_t::total

bytes to do; 0 for single calls


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