9#define RPMERR_CHECK_ERRNO -32768
16 RPMERR_BAD_MAGIC = -2,
17 RPMERR_BAD_HEADER = -3,
19 RPMERR_UNKNOWN_FILETYPE= -5,
20 RPMERR_MISSING_FILE = -6,
21 RPMERR_DIGEST_MISMATCH = -7,
23 RPMERR_UNMAPPED_FILE = -9,
25 RPMERR_ENOTEMPTY = -11,
26 RPMERR_FILE_SIZE = -12,
27 RPMERR_ITER_SKIP = -13,
28 RPMERR_EXIST_AS_DIR = -14,
29 RPMERR_INVALID_SYMLINK = -15,
32 RPMERR_OPEN_FAILED = -32768,
33 RPMERR_CHMOD_FAILED = -32769,
34 RPMERR_CHOWN_FAILED = -32770,
35 RPMERR_WRITE_FAILED = -32771,
36 RPMERR_UTIME_FAILED = -32772,
37 RPMERR_UNLINK_FAILED = -32773,
38 RPMERR_RENAME_FAILED = -32774,
39 RPMERR_SYMLINK_FAILED = -32775,
40 RPMERR_STAT_FAILED = -32776,
41 RPMERR_LSTAT_FAILED = -32777,
42 RPMERR_MKDIR_FAILED = -32778,
43 RPMERR_RMDIR_FAILED = -32779,
44 RPMERR_MKNOD_FAILED = -32780,
45 RPMERR_MKFIFO_FAILED = -32781,
46 RPMERR_LINK_FAILED = -32782,
47 RPMERR_READLINK_FAILED = -32783,
48 RPMERR_READ_FAILED = -32784,
49 RPMERR_COPY_FAILED = -32785,
50 RPMERR_LSETFCON_FAILED = -32786,
51 RPMERR_SETCAP_FAILED = -32787,
52 RPMERR_CLOSE_FAILED = -32788,
struct _FD_s * FD_t
Definition rpmtypes.h:99
int rpmfiArchiveClose(rpmfi fi)
int rpmfiArchiveHasContent(rpmfi fi)
ssize_t rpmfiArchiveRead(rpmfi fi, void *buf, size_t size)
rpmfilesErrorCodes
Definition rpmarchive.h:14
rpm_loff_t rpmfiArchiveTell(rpmfi fi)
int rpmfiArchiveReadToFile(rpmfi fi, FD_t fd, int nodigest)
char * rpmfileStrerror(int rc)
size_t rpmfiArchiveWrite(rpmfi fi, const void *buf, size_t size)
int rpmfiArchiveWriteFile(rpmfi fi, FD_t fd)
rpmfi rpmfiNewArchiveReader(FD_t fd, rpmfiles files, int itype)
rpmfi rpmfiNewArchiveWriter(FD_t fd, rpmfiles files)