2019-03-08 18:18:31 +01:00
|
|
|
/* SPDX-License-Identifier: ISC */
|
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-04-05 12:33:50 +02:00
|
|
|
#include "pkg/pkgformat.h"
|
|
|
|
#include "pkg/pkgreader.h"
|
|
|
|
#include "pkg/pkgio.h"
|
|
|
|
|
2019-01-19 17:26:41 +01:00
|
|
|
#include "command.h"
|
|
|
|
|
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 */
|