- #ifndef __VENDOR_GLOBAL_H__
- #define __VENDOR_GLOBAL_H__
- #define VENDOR_MAX_PATH_SIZE 256
- #define VENDOR_RUN_PATH_ENV "DAS_CONFIG_DIR"
- #define VENDOR_CONFIG_PATH std::string(getenv(VENDOR_RUN_PATH_ENV)) + "/config
- #define VENDOR_LOG_PATH std::string(getenv(VENDOR_RUN_PATH_ENV)) + "/log
- #define VENDOR_BIN_PATH std::string(getenv(VENDOR_RUN_PATH_ENV)) + "/bin
- #define VENDOR_DB_PATH std::string(getenv(VENDOR_RUN_PATH_ENV)) + "/db
- #endif // __VENDOR_GLOBAL_H__
|