summaryrefslogtreecommitdiffstats
path: root/contents.h
diff options
context:
space:
mode:
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