MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / setConfigBasePath

Function setConfigBasePath

OpenHD/ohd_common/src/config_paths.cpp:92–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void setConfigBasePath(const char* path) {
93 if (CONFIG_BASE_PATH) {
94 free(CONFIG_BASE_PATH);
95 }
96 CONFIG_BASE_PATH = static_cast<char*>(malloc(strlen(path) + 1));
97 strcpy(CONFIG_BASE_PATH, path);
98}
99
100void setVideoPath(const char* path) {
101 if (VIDEO_PATH) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected