summaryrefslogtreecommitdiffstats
path: root/indexfile.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 /indexfile.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 'indexfile.h')
-rw-r--r--indexfile.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/indexfile.h b/indexfile.h
new file mode 100644
index 0000000..cdc68a4
--- /dev/null
+++ b/indexfile.h
@@ -0,0 +1,19 @@
+#ifndef REPREPRO_INDEXFILE_H
+#define REPREPRO_INDEXFILE_H
+
+#ifndef REPREPRO_ERROR_H
+#include "error.h"
+#warning "What's hapening here?"
+#endif
+#ifndef REPREPRO_TARGET_H
+#include "target.h"
+#endif
+
+struct indexfile;
+struct package;
+
+retvalue indexfile_open(/*@out@*/struct indexfile **, const char *, enum compression);
+retvalue indexfile_close(/*@only@*/struct indexfile *);
+bool indexfile_getnext(struct indexfile *, /*@out@*/struct package *, struct target *, bool allowwrongarchitecture);
+
+#endif