summaryrefslogtreecommitdiffstats
path: root/descriptions.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 /descriptions.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 'descriptions.h')
-rw-r--r--descriptions.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/descriptions.h b/descriptions.h
new file mode 100644
index 0000000..c3aa060
--- /dev/null
+++ b/descriptions.h
@@ -0,0 +1,11 @@
+#ifndef REPREPRO_DESCRIPTIONS_H
+#define REPREPRO_DESCRIPTIONS_H
+
+/* Do what is needed description/translation wise for a new package added.
+ * control is the control chunk of the new package to be normalized
+ * (depending on the target, towards containing full Description or checksumed),
+ * newcontrol_p gets the new normalized control chunk.
+ */
+
+retvalue description_addpackage(struct target*, const char */*package*/, const char */*control*/, /*@out@*/char **/*newcontrol_p*/);
+#endif