view include/animone/fd/xnu.h @ 5:6d6d2b51517b

chore: merge
author Paper <paper@paper.us.eu.org>
date Fri, 12 Apr 2024 05:23:45 -0400
parents a76fa32bdc92
children efbb8316395f
line wrap: on
line source

#ifndef ANIMONE_ANIMONE_FD_XNU_H_
#define ANIMONE_ANIMONE_FD_XNU_H_

#include <set>
#include <string>

#include "animone/fd.h"
#include "animone/types.h"

namespace animone::internal::xnu {

bool EnumerateOpenProcesses(process_proc_t process_proc);
bool EnumerateOpenFiles(const std::set<pid_t>& pids, open_file_proc_t open_file_proc);

} // namespace animone::internal::xnu

#endif // ANIMONE_ANIMONE_FD_XNU_H_