1
0
Fork 0
mirror of https://github.com/pygos/pkg-utils.git synced 2024-11-22 12:59:46 +01:00
pkg-utils/include/pkgio.h
David Oberhollenzer f62bab2629 Move pkg unpack functionality out of unpack command
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-01-30 13:26:05 +01:00

16 lines
288 B
C

#ifndef PKGIO_H
#define PKGIO_H
#include "pkgreader.h"
#include "image_entry.h"
enum {
UNPACK_NO_CHOWN = 0x01,
UNPACK_NO_CHMOD = 0x02,
};
int pkg_unpack(int rootfd, int flags, pkg_reader_t *rd);
image_entry_t *image_entry_list_from_package(pkg_reader_t *pkg);
#endif /* PKGIO_H */