mirror of
https://github.com/pygos/pkg-utils.git
synced 2024-05-06 14:36:14 +02:00
David Oberhollenzer
be9bfed9b0
Mov file list from package function into seperate module, move declaration into new high-level header. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
30 lines
491 B
C
30 lines
491 B
C
#ifndef UNPACK_H
|
|
#define UNPACK_H
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <getopt.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
#include <stdio.h>
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
|
|
#include "image_entry.h"
|
|
#include "pkgreader.h"
|
|
#include "command.h"
|
|
#include "pkgio.h"
|
|
#include "util.h"
|
|
|
|
enum {
|
|
FLAG_NO_CHOWN = 0x01,
|
|
FLAG_NO_CHMOD = 0x02,
|
|
};
|
|
|
|
int create_hierarchy(int dirfd, image_entry_t *list);
|
|
|
|
int mkdir_p(const char *path);
|
|
|
|
#endif /* UNPACK_H */
|