1
0
Fork 0
mirror of https://github.com/pygos/pkg-utils.git synced 2024-11-15 09:57:12 +01:00
pkg-utils/main/cmd/dump/dump.h
David Oberhollenzer 6a80140c59 Move abstract file list handling code to seperate utility library
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-02-04 15:39:43 +01:00

27 lines
450 B
C

#ifndef DUMP_H
#define DUMP_H
#include <sys/stat.h>
#include <getopt.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "util/util.h"
#include "filelist/image_entry.h"
#include "pkgformat.h"
#include "pkgreader.h"
#include "command.h"
#include "pkgio.h"
typedef enum {
DUMP_TOC = 0x01,
DUMP_DEPS = 0x02,
DUMP_ALL = (DUMP_TOC | DUMP_DEPS),
} DUMP_FLAGS;
int dump_header(pkg_reader_t *pkg, int flags);
#endif /* DUMP_H */