1
0
Fork 0
mirror of https://github.com/pygos/pkg-utils.git synced 2024-11-05 21:27:11 +01:00
pkg-utils/main/cmd/dump/dump.h
David Oberhollenzer 6ec11b532e Initial commit
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-26 23:19:21 +01:00

24 lines
437 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 "image_entry.h"
#include "pkgformat.h"
#include "pkgreader.h"
#include "command.h"
#include "util.h"
typedef enum {
TOC_FORMAT_PRETTY = 0,
TOC_FORMAT_SQFS = 1,
TOC_FORMAT_INITRD = 2,
} TOC_FORMAT;
int dump_toc(image_entry_t *list, const char *root, TOC_FORMAT format);
#endif /* DUMP_H */