#ifndef __animia__animia__fd__linux_h
#define __animia__animia__fd__linux_h

#include <set>
#include <string>

#include "animia/fd.h"
#include "animia/types.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;
};

} // namespace animia::internal::linux

#endif // __animia__animia__fd__linux_h
