#ifndef EXECSNOOP_SHARE_HPP #define EXECSNOOP_SHARE_HPP 1 #include #include #include using namespace std; namespace CGPROXY::EXECSNOOP { extern "C" void startThread(function c, promise _status); // typedef void startThread_t(function, promise); using startThread_t=decltype(startThread); startThread_t *_startThread; // only for dlsym() } // namespace CGPROXY::EXECSNOOP #endif