mirror of
https://github.com/pygos/pkg-utils.git
synced 2024-11-22 21:09:47 +01:00
David Oberhollenzer
c23a2c8c33
Allow the install command to either list the packages it wants to install, or to list the files it would install. Optionally allow the command to ignore dependencies. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
25 lines
434 B
C
25 lines
434 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 "pkgio.h"
|
|
#include "util.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 */
|