aboutsummaryrefslogtreecommitdiff
path: root/src/cli/stasis_indexer/helpers.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-12-11 09:30:07 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-12-11 09:45:04 -0500
commit4fd92ec6b203d6b94b9e9f9531fd60a65736e810 (patch)
tree2b5be989ca839bd97f55f40605e23d7019397be7 /src/cli/stasis_indexer/helpers.h
parent1bec4776252cec88ec3336602c0c477c20a1292f (diff)
downloadstasis-4fd92ec6b203d6b94b9e9f9531fd60a65736e810.tar.gz
Restructure projectdelivery-lib
* Move headers to relevant include directories within the target tree(s) * Adjust doxygen configuration to search correct paths * Adjust CMake configuration to use new include paths
Diffstat (limited to 'src/cli/stasis_indexer/helpers.h')
-rw-r--r--src/cli/stasis_indexer/helpers.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/cli/stasis_indexer/helpers.h b/src/cli/stasis_indexer/helpers.h
deleted file mode 100644
index d493f75..0000000
--- a/src/cli/stasis_indexer/helpers.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef HELPERS_H
-#define HELPERS_H
-
-#include "delivery.h"
-
-#define ARRAY_COUNT_DYNAMIC(X, COUNTER) \
- do { \
- for (COUNTER = 0; X && X[COUNTER] != NULL; COUNTER++) {} \
- } while(0)
-
-#define ARRAY_COUNT_BY_STRUCT_MEMBER(X, MEMBER, COUNTER) \
- do { \
- for (COUNTER = 0; X[COUNTER].MEMBER != NULL; COUNTER++) {} \
- } while(0)
-
-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 pandoc_exec(const char *in_file, const char *out_file, const char *css_file, const char *title);
-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, ...);
-struct StrList *get_docker_images(struct Delivery *ctx, char *pattern);
-int load_metadata(struct Delivery *ctx, const char *filename);
-int micromamba_configure(const struct Delivery *ctx, struct MicromambaInfo *m);
-
-#endif //HELPERS_H