summaryrefslogtreecommitdiffstats
path: root/sourceextraction.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 /sourceextraction.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 'sourceextraction.h')
-rw-r--r--sourceextraction.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/sourceextraction.h b/sourceextraction.h
new file mode 100644
index 0000000..e41bd35
--- /dev/null
+++ b/sourceextraction.h
@@ -0,0 +1,21 @@
+#ifndef REPREPRO_SOURCEEXTRACTION_H
+#define REPREPRO_SOURCEEXTRACTION_H
+
+struct sourceextraction;
+
+/*@NULL@*/struct sourceextraction *sourceextraction_init(/*@null@*/char **section_p, /*@null@*/char **priority_p);
+
+void sourceextraction_abort(/*@only@*/struct sourceextraction *);
+
+/* register a file part of this source */
+void sourceextraction_setpart(struct sourceextraction *, int , const char *);
+
+/* return the next needed file */
+bool sourceextraction_needs(struct sourceextraction *, /*@out@*/int *);
+
+/* full file name of requested files ready to analyse */
+retvalue sourceextraction_analyse(struct sourceextraction *, const char *);
+
+retvalue sourceextraction_finish(/*@only@*/struct sourceextraction *);
+
+#endif