#ifndef __ForwardingThread_h_ #define __ForwardingThread_h_ // Returns "" on success, or a human readable error message on failure. // This might include some small memory leaks. This was designed to be run // once, not in a loop. The forwardng thread will automatically test its // config file. This function is helpful if you want to test the config file // without restarting the server. E.g. a safe restart script would make sure // we are ready to start a new process before killing the old one. std::string testForwardingConfigFile(std::string const &fileName); void initForwardingThread(); #endif