summaryrefslogtreecommitdiffstats
path: root/contents.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:12:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:12:14 +0000
commit4b8a0f3f3dcf60dac2ce308ea08d413a535af29f (patch)
tree0f09c0ad2a4d0f535d89040a63dc3a866a6606e6 /contents.h
parentInitial commit. (diff)
downloadreprepro-4b8a0f3f3dcf60dac2ce308ea08d413a535af29f.tar.xz
reprepro-4b8a0f3f3dcf60dac2ce308ea08d413a535af29f.zip
Adding upstream version 5.4.4.upstream/5.4.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'contents.h')
-rw-r--r--contents.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/contents.h b/contents.h
new file mode 100644
index 0000000..b8a214d
--- /dev/null
+++ b/contents.h
@@ -0,0 +1,33 @@
+#ifndef REPREPRO_CONTENTS_H
+#define REPREPRO_CONTENTS_H
+
+#ifndef REPREPRO_STRLIST_H
+#include "strlist.h"
+#endif
+#ifndef REPREPRO_DATABASE_H
+#include "database.h"
+#endif
+#ifndef REPREPRO_RELEASE_H
+#include "release.h"
+#endif
+
+struct contentsoptions {
+ struct {
+ bool enabled;
+ bool udebs;
+ bool nodebs;
+ bool percomponent;
+ bool allcomponents;
+ bool compatsymlink;
+ bool ddebs;
+ } flags;
+ compressionset compressions;
+};
+
+struct distribution;
+struct configiterator;
+
+retvalue contentsoptions_parse(struct distribution *, struct configiterator *);
+retvalue contents_generate(struct distribution *, struct release *, bool /*onlyneeded*/);
+
+#endif