#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
