8 #define RPMERR_CHECK_ERRNO -32768
char * rpmfileStrerror(int rc)
Return formatted error message on payload handling failure.
int rpmfiArchiveClose(rpmfi fi)
Close payload archive.
size_t rpmfiArchiveRead(rpmfi fi, void *buf, size_t size)
Read content from current file in archive.
rpm_loff_t rpmfiArchiveTell(rpmfi fi)
Return current position in payload archive.
size_t rpmfiArchiveWrite(rpmfi fi, const void *buf, size_t size)
Write content into current file in archive.
struct _FD_s * FD_t
RPM IO file descriptor type.
int rpmfiArchiveHasContent(rpmfi fi)
Has current file content stored in the archive.
int rpmfiArchiveReadToFile(rpmfi fi, FD_t fd, int nodigest)
Write content from current file in archive to a file.
rpmfi rpmfiNewArchiveReader(FD_t fd, rpmfiles files, int itype)
Get new file iterator for looping over the archive content.
int rpmfiArchiveWriteFile(rpmfi fi, FD_t fd)
Write content from given file into current file in archive.
rpmfilesErrorCodes
Error codes for archive and file handling.
rpmfi rpmfiNewArchiveWriter(FD_t fd, rpmfiles files)
Get new file iterator for writing the archive content.
struct rpmfiles_s * rpmfiles