omni::connect::core::carbAppPath
Defined in omni/connect/core/Core.h
-
const char *omni::connect::core::carbAppPath()
Convenience to retrieve the Carbonite App Path.
This is defined via the Environment Variable
$CARB_APP_PATH
, and must be set prior to using any Carbonite functionality, including callingomni::connect::core::startup()
Note: If
$CARB_APP_PATH
is unset, this function will emit a fatal log and return empty string. Any further use of this library is undefined and may result in segmentation faults.- Returns
The Carbonite App Path.