mirror of
https://github.com/springzfx/cgproxy.git
synced 2026-01-07 13:07:56 +08:00
21 lines
413 B
C++
21 lines
413 B
C++
#ifndef EXECSNOOP_SHARE_HPP
|
|
#define EXECSNOOP_SHARE_HPP 1
|
|
|
|
#include <functional>
|
|
#include <future>
|
|
#include <string>
|
|
using namespace std;
|
|
|
|
namespace CGPROXY::EXECSNOOP {
|
|
|
|
extern "C" void startThread(function<int(int)> c, promise<void> _status);
|
|
|
|
#ifdef BUIlD_EXECSNOOP_DL
|
|
// only for dlsym()
|
|
using startThread_t=decltype(startThread);
|
|
startThread_t *_startThread;
|
|
#endif
|
|
|
|
} // namespace CGPROXY::EXECSNOOP
|
|
#endif
|