#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; char *tmpdir; }; #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