config.h¶
// SPDX-License-Identifier: MIT
-
const char *elosConfigGetElosdRunDir(const samconfConfig_t *config)¶
[source] Returns the path to the elos run directory, where elos related runtime files like socket, pid-files, lock files etc. located.
- Parameters:
config – root config containing the optional root.elos.RunDir option
- Return: A string in any case, on any error the compile default as fallback is used.
The returned string must not be freed.
-
bool elosConfigGetElosdUseEnv(const samconfConfig_t *config)¶
[source] Determine if configuration options from environment shall be evaluated or ignored.
- Parameters:
config – root config containing the root.elos.useEnv option
- Returns:
if environment options shall be evaluated false: in any other case including errors on Reading accessing config.
- Return type:
true