#include <fsm.h>
Data Fields | |
const char * | path |
const char * | opath |
FD_t | cfd |
FD_t | rfd |
char * | rdbuf |
char * | rdb |
size_t | rdsize |
size_t | rdlen |
size_t | rdnb |
FD_t | wfd |
char * | wrbuf |
char * | wrb |
size_t | wrsize |
size_t | wrlen |
size_t | wrnb |
FSMI_t | iter |
int | ix |
hardLink_s * | links |
hardLink_s * | li |
unsigned int * | archiveSize |
const char ** | failedFile |
const char * | subdir |
char | subbuf [64] |
const char * | osuffix |
const char * | nsuffix |
const char * | suffix |
char | sufbuf [64] |
short * | dnlx |
char * | ldn |
int | ldnlen |
int | ldnalloc |
int | postpone |
int | diskchecked |
int | exists |
int | mkdirsdone |
int | astriplen |
int | rc |
int | commit |
cpioMapFlags | mapFlags |
const char * | dirName |
const char * | baseName |
const char * | fmd5sum |
unsigned | fflags |
fileAction | action |
fileStage | goal |
fileStage | stage |
stat | sb |
stat | osb |
Definition at line 120 of file fsm.h.
const char* fsm_s::path |
Current file name.
Definition at line 121 of file fsm.h.
Referenced by cpioHeaderRead(), cpioHeaderWrite(), freeFSM(), fsmCommitLinks(), fsmMakeLinks(), fsmMapPath(), fsmMkdirs(), fsmRmdirs(), fsmStage(), saveHardLink(), writeFile(), and writeLinkedFile().
const char* fsm_s::opath |
Original file name.
Definition at line 122 of file fsm.h.
Referenced by fsmMakeLinks(), fsmStage(), and writeFile().
Payload file handle.
Definition at line 123 of file fsm.h.
Referenced by fsmSetup(), fsmStage(), fsmTeardown(), and writeFile().
char* fsm_s::rdbuf |
read: Buffer.
Definition at line 125 of file fsm.h.
Referenced by cpioHeaderWrite(), cpioTrailerWrite(), fsmMkdirs(), fsmRmdirs(), fsmStage(), and writeFile().
char* fsm_s::rdb |
size_t fsm_s::rdsize |
read: Buffer allocated size.
Definition at line 127 of file fsm.h.
Referenced by fsmStage(), and writeFile().
size_t fsm_s::rdlen |
size_t fsm_s::rdnb |
read: Number of bytes returned.
Definition at line 129 of file fsm.h.
Referenced by cpioHeaderRead(), cpioHeaderWrite(), cpioTrailerWrite(), fsmStage(), and writeFile().
char* fsm_s::wrbuf |
write: Buffer.
Definition at line 131 of file fsm.h.
Referenced by cpioHeaderRead(), and fsmStage().
char* fsm_s::wrb |
size_t fsm_s::wrsize |
write: Buffer allocated size.
Definition at line 133 of file fsm.h.
Referenced by cpioHeaderRead(), expandRegular(), and fsmStage().
size_t fsm_s::wrlen |
write: Number of bytes requested.
Definition at line 134 of file fsm.h.
Referenced by cpioHeaderRead(), expandRegular(), and fsmStage().
size_t fsm_s::wrnb |
write: Number of bytes returned.
Definition at line 135 of file fsm.h.
Referenced by cpioHeaderWrite(), expandRegular(), and writeFile().
File iterator.
Definition at line 136 of file fsm.h.
Referenced by freeFSM(), fsmGetFi(), fsmGetTs(), fsmSetup(), fsmStage(), and fsmTeardown().
int fsm_s::ix |
Current file iterator index.
Definition at line 137 of file fsm.h.
Referenced by fsmCommitLinks(), fsmMakeLinks(), fsmMapAttrs(), fsmMapPath(), fsmStage(), saveHardLink(), writeFile(), and writeLinkedFile().
struct hardLink_s* fsm_s::links [read] |
Pending hard linked file(s).
Definition at line 138 of file fsm.h.
Referenced by freeFSM(), fsmCommitLinks(), fsmStage(), and saveHardLink().
struct hardLink_s* fsm_s::li [read] |
Current hard linked file(s).
Definition at line 139 of file fsm.h.
Referenced by freeFSM(), fsmCommitLinks(), fsmMakeLinks(), fsmStage(), saveHardLink(), and writeLinkedFile().
unsigned int* fsm_s::archiveSize |
const char** fsm_s::failedFile |
First file name that failed.
Definition at line 141 of file fsm.h.
Referenced by fsmMakeLinks(), fsmSetup(), fsmStage(), fsmTeardown(), and writeLinkedFile().
const char* fsm_s::subdir |
Current file sub-directory.
Definition at line 142 of file fsm.h.
Referenced by fsmMapPath(), and fsmStage().
char fsm_s::subbuf[64] |
const char* fsm_s::osuffix |
Old, preserved, file suffix.
Definition at line 144 of file fsm.h.
Referenced by fsmMapPath(), and fsmStage().
const char* fsm_s::nsuffix |
New, created, file suffix.
Definition at line 145 of file fsm.h.
Referenced by fsmCommitLinks(), fsmMakeLinks(), fsmMapPath(), fsmStage(), saveHardLink(), and writeLinkedFile().
const char* fsm_s::suffix |
Current file suffix.
Definition at line 146 of file fsm.h.
Referenced by fsmMapPath(), and fsmStage().
char fsm_s::sufbuf[64] |
short* fsm_s::dnlx |
Last dirpath verified indexes.
Definition at line 148 of file fsm.h.
Referenced by freeFSM(), fsmMkdirs(), fsmRmdirs(), and fsmStage().
char* fsm_s::ldn |
Last dirpath verified.
Definition at line 149 of file fsm.h.
Referenced by freeFSM(), fsmMkdirs(), fsmRmdirs(), and fsmStage().
int fsm_s::ldnlen |
Last dirpath current length.
Definition at line 150 of file fsm.h.
Referenced by fsmMkdirs(), and fsmStage().
int fsm_s::ldnalloc |
Last dirpath allocated length.
Definition at line 151 of file fsm.h.
Referenced by fsmMkdirs(), and fsmStage().
int fsm_s::postpone |
int fsm_s::exists |
int fsm_s::astriplen |
Length of buildroot prefix.
Definition at line 156 of file fsm.h.
Referenced by fsmMapPath(), and fsmStage().
int fsm_s::rc |
External file stage return code.
Definition at line 157 of file fsm.h.
Referenced by fsmSetup(), fsmStage(), and fsmTeardown().
int fsm_s::commit |
Bit(s) to control mapping.
Definition at line 159 of file fsm.h.
Referenced by fsmMapAttrs(), fsmMapPath(), fsmStage(), and writeFile().
const char* fsm_s::dirName |
File directory name.
Definition at line 160 of file fsm.h.
Referenced by fsmFsPath(), fsmMapPath(), and writeFile().
const char* fsm_s::baseName |
File base name.
Definition at line 161 of file fsm.h.
Referenced by fsmFsPath(), fsmMapPath(), and writeFile().
const char* fsm_s::fmd5sum |
File MD5 sum (NULL disables).
Definition at line 162 of file fsm.h.
Referenced by expandRegular(), and fsmMapAttrs().
unsigned fsm_s::fflags |
File disposition.
Definition at line 164 of file fsm.h.
Referenced by fsmCommitLinks(), fsmMakeLinks(), fsmMapPath(), and fsmStage().
Package state machine goal.
Definition at line 165 of file fsm.h.
Referenced by fsmSetup(), fsmStage(), and saveHardLink().
struct stat fsm_s::sb [read] |
Current file stat(2) info.
Definition at line 167 of file fsm.h.
Referenced by expandRegular(), fsmCommitLinks(), fsmMapAttrs(), fsmMapPath(), fsmMkdirs(), fsmStage(), saveHardLink(), and writeFile().
struct stat fsm_s::osb [read] |
Original file stat(2) info.
Definition at line 168 of file fsm.h.
Referenced by fsmMkdirs(), fsmStage(), and writeFile().