#include "system.h"
#include <rpmlib.h>
#include "fsm.h"
#include "rpmerr.h"
#include "debug.h"
Go to the source code of this file.
Defines | |
| #define | GET_NUM_FIELD(phys, log) |
| #define | SET_NUM_FIELD(phys, val, space) |
Functions | |
| int | strntoul (const char *str, char **endptr, int base, int num) |
| Convert string to unsigned integer (with buffer size check). More... | |
| int | cpioTrailerWrite (FSM_t fsm) |
| Write cpio trailer. More... | |
| int | cpioHeaderWrite (FSM_t fsm, struct stat *st) |
| Write cpio header. More... | |
| int | cpioHeaderRead (FSM_t fsm, struct stat *st) |
| Read cpio header. More... | |
| const char* const | cpioStrerror (int rc) |
Variables | |
| int | _fsm_debug = 0 |
Definition in file cpio.c.
|
|
Value: log = strntoul(phys, &end, 16, sizeof(phys)); \ if ( (end - phys) != sizeof(phys) ) return CPIOERR_BAD_HEADER; Definition at line 50 of file cpio.c. Referenced by cpioHeaderRead().
|
|
|
Value: sprintf(space, "%8.8lx", (unsigned long) (val)); \
memcpy(phys, space, 8);
Definition at line 53 of file cpio.c. Referenced by cpioHeaderWrite().
|
|
|
Read cpio header.
|
|
|
Write cpio header.
|
|
|
Write cpio trailer.
|
|
|
Convert string to unsigned integer (with buffer size check).
|
|
|
|
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001