#ifndef EXECSNOOP_HPP #define EXECSNOOP_HPP 1 #include #include #include using namespace std; namespace CGPROXY::EXECSNOOP { extern const string BPF_PROGRAM; struct data_t; extern function callback; void handle_events(void *cb_cookie, void *data, int data_size); int 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