diff options
Diffstat (limited to 'src/lib/entrypoint/include')
-rw-r--r-- | src/lib/entrypoint/include/args.h | 24 | ||||
-rw-r--r-- | src/lib/entrypoint/include/system_requirements.h | 13 | ||||
-rw-r--r-- | src/lib/entrypoint/include/tpl.h | 10 |
3 files changed, 47 insertions, 0 deletions
diff --git a/src/lib/entrypoint/include/args.h b/src/lib/entrypoint/include/args.h new file mode 100644 index 0000000..5bad752 --- /dev/null +++ b/src/lib/entrypoint/include/args.h @@ -0,0 +1,24 @@ +#ifndef STASIS_ARGS_H +#define STASIS_ARGS_H + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <getopt.h> + +#define OPT_ALWAYS_UPDATE_BASE 1000 +#define OPT_NO_DOCKER 1001 +#define OPT_NO_ARTIFACTORY 1002 +#define OPT_NO_ARTIFACTORY_BUILD_INFO 1003 +#define OPT_NO_ARTIFACTORY_UPLOAD 1004 +#define OPT_NO_TESTING 1005 +#define OPT_OVERWRITE 1006 +#define OPT_NO_REWRITE_SPEC_STAGE_2 1007 +#define OPT_FAIL_FAST 1009 +#define OPT_NO_PARALLEL 1010 +#define OPT_POOL_STATUS_INTERVAL 1011 + +extern struct option long_options[]; +void usage(char *progname); + +#endif //STASIS_ARGS_H diff --git a/src/lib/entrypoint/include/system_requirements.h b/src/lib/entrypoint/include/system_requirements.h new file mode 100644 index 0000000..b97c83e --- /dev/null +++ b/src/lib/entrypoint/include/system_requirements.h @@ -0,0 +1,13 @@ +#ifndef STASIS_SYSTEM_REQUIREMENTS_H +#define STASIS_SYSTEM_REQUIREMENTS_H + +#include "delivery.h" +#include "entrypoint_callbacks.h" +#include "envctl.h" + +void check_system_path(); +void check_system_env_requirements(); +void check_system_requirements(struct Delivery *ctx); +void check_requirements(struct Delivery *ctx); + +#endif //STASIS_SYSTEM_REQUIREMENTS_H diff --git a/src/lib/entrypoint/include/tpl.h b/src/lib/entrypoint/include/tpl.h new file mode 100644 index 0000000..398f0fe --- /dev/null +++ b/src/lib/entrypoint/include/tpl.h @@ -0,0 +1,10 @@ +#ifndef STASIS_TPL_H +#define STASIS_TPL_H + +#include "template.h" +#include "template_func_proto.h" + +void tpl_setup_vars(struct Delivery *ctx); +void tpl_setup_funcs(struct Delivery *ctx); + +#endif //STASIS_TPL_H |