aboutsummaryrefslogtreecommitdiff
path: root/src/cli/stasis_indexer/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/stasis_indexer/helpers.h')
-rw-r--r--src/cli/stasis_indexer/helpers.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cli/stasis_indexer/helpers.h b/src/cli/stasis_indexer/helpers.h
new file mode 100644
index 0000000..41db49e
--- /dev/null
+++ b/src/cli/stasis_indexer/helpers.h
@@ -0,0 +1,15 @@
+#ifndef HELPERS_H
+#define HELPERS_H
+
+#include "delivery.h"
+
+struct StrList *get_architectures(struct Delivery ctx[], size_t nelem);
+struct StrList *get_platforms(struct Delivery ctx[], size_t nelem);
+int get_pandoc_version(size_t *result);
+int get_latest_rc(struct Delivery ctx[], size_t nelem);
+struct Delivery **get_latest_deliveries(struct Delivery ctx[], size_t nelem);
+int get_files(struct StrList **out, const char *path, const char *pattern, ...);
+int load_metadata(struct Delivery *ctx, const char *filename);
+int micromamba_configure(const struct Delivery *ctx, struct MicromambaInfo *m);
+
+#endif //HELPERS_H