2019-01-19 17:26:41 +01:00
|
|
|
#ifndef DUMP_H
|
|
|
|
#define DUMP_H
|
|
|
|
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <getopt.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2019-02-04 15:21:19 +01:00
|
|
|
#include "util/util.h"
|
|
|
|
|
2019-02-04 15:39:43 +01:00
|
|
|
#include "filelist/image_entry.h"
|
|
|
|
|
2019-01-19 17:26:41 +01:00
|
|
|
#include "pkgformat.h"
|
|
|
|
#include "pkgreader.h"
|
|
|
|
#include "command.h"
|
2019-01-30 11:34:23 +01:00
|
|
|
#include "pkgio.h"
|
2019-01-19 17:26:41 +01:00
|
|
|
|
2019-01-29 00:14:06 +01:00
|
|
|
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);
|
|
|
|
|
2019-01-19 17:26:41 +01:00
|
|
|
#endif /* DUMP_H */
|