#ifndef CGPROUP_ATTACH_H #define CGPROUP_ATTACH_H #include #include using namespace std; namespace CGPROXY::CGROUP { extern string cgroup2_mount_point; bool validate(string pid, string cgroup); int attach(const string pid, const string cgroup_target); int attach(const int pid, const string cgroup_target); int write2procs(string pid, string procspath); } // namespace CGPROXY::CGROUP #endif