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

One archive being sent. The fields are wa_zip.c's. More...

#include <wa_zip.h>

Data Fields

const wa_fs_t * fs
wa_zip_plan_t plan
wa_zip_slot_t * slot
uint64_t index
uint64_t at
uint64_t cd_at
uint64_t cd_bytes
int phase
bool in_file
void * file
uint64_t left
uint64_t size
uint32_t file_crc
uint8_t piece [WA_ZIP_PIECE_MAX]
size_t piece_len
size_t piece_off
wa_zip_err_t err
wa_walk_t walk

Detailed Description

One archive being sent. The fields are wa_zip.c's.

Field Documentation

◆ at

uint64_t wa_zip_t::at

bytes of archive produced

◆ cd_at

uint64_t wa_zip_t::cd_at

the third walk's local header offset

◆ cd_bytes

uint64_t wa_zip_t::cd_bytes

bytes of the central directory sent

◆ err

wa_zip_err_t wa_zip_t::err

the failure the archive ended with

◆ file

void* wa_zip_t::file

the open file

◆ file_crc

uint32_t wa_zip_t::file_crc

CRC-32 of the open file's bytes sent

◆ fs

const wa_fs_t* wa_zip_t::fs

the card

◆ in_file

bool wa_zip_t::in_file

a file is open and being sent

◆ index

uint64_t wa_zip_t::index

the entry being sent

◆ left

uint64_t wa_zip_t::left

bytes of the open file still to send

◆ phase

int wa_zip_t::phase

the part of the archive being sent

◆ piece

uint8_t wa_zip_t::piece[WA_ZIP_PIECE_MAX]

a header or descriptor

◆ piece_len

size_t wa_zip_t::piece_len

bytes in piece

◆ piece_off

size_t wa_zip_t::piece_off

bytes of piece sent

◆ plan

wa_zip_plan_t wa_zip_t::plan

what the first walk counted

◆ size

uint64_t wa_zip_t::size

bytes the open file is sent with

◆ slot

wa_zip_slot_t* wa_zip_t::slot

one an entry, in walk order

◆ walk

wa_walk_t wa_zip_t::walk

the walk of the card under way


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