From 62edbefaffeb2f9d3a52193c2e0d54c77acbcc40 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 20 Nov 2023 00:29:58 -0500 Subject: Rebranding --- include/omc.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 include/omc.h (limited to 'include/omc.h') diff --git a/include/omc.h b/include/omc.h new file mode 100644 index 0000000..6c4821f --- /dev/null +++ b/include/omc.h @@ -0,0 +1,36 @@ +#ifndef OMC_OMC_H +#define OMC_OMC_H +#include +#include +#include +#include +#include + +#define SYSERROR stderr, "%s:%s:%d: %s\n", path_basename(__FILE__), __FUNCTION__, __LINE__, strerror(errno) +#define OMC_BUFSIZ 8192 + +struct OMC_GLOBAL { + unsigned char verbose; + unsigned char always_update_base_environment; + unsigned char continue_on_error; +}; + +#include "utils.h" +#include "ini.h" +#include "conda.h" +#include "environment.h" +#include "deliverable.h" +#include "str.h" +#include "strlist.h" +#include "system.h" +#include "download.h" +#include "recipe.h" +#include "relocation.h" + +#define COE_CHECK_ABORT(COND, MSG) {\ + if (COND) { \ + msg(OMC_MSG_ERROR, MSG ": Aborting execution (--continue-on-error/-C is not enabled)\n"); \ + exit(1); \ + } \ +} +#endif //OMC_OMC_H -- cgit