Mercurial > minori
view dep/animia/include/animia/fd/linux.h @ 152:8700806c2cc2
dep/animia: awesome new breaking changes!
I'm so tired
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 15 Nov 2023 02:34:59 -0500 |
parents | ffa535b6d630 |
children | cdf79282d647 |
line wrap: on
line source
#ifndef __animia__animia__fd__linux_h #define __animia__animia__fd__linux_h #include <string> #include <set> #include "animia/types.h" #include "animia/fd.h" /* Russian warship, go fuck yourself */ #ifdef linux #undef linux #endif namespace animia::internal::linux { class LinuxFdTools final : public BaseFdTools { public: bool EnumerateOpenProcesses(process_proc_t process_proc) override; bool EnumerateOpenFiles(const std::set<pid_t>& pids, open_file_proc_t open_file_proc) override; }; } #endif // __animia__animia__fd__linux_h