AuroraRuntime/Source/IO/UNIX/FDIpcServer.hpp

21 lines
487 B
C++
Raw Normal View History

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: FDIpcServer.hpp
Date: 2022-4-12
Author: Reece
***/
#pragma once
#include <Source/IPC/IPCHandle.hpp>
namespace Aurora::IO::UNIX
{
void InitIPCBackend();
void DeinitIPCBackend();
bool FDServe(bool a, bool b, bool c, bool d, int fd, IPC::IPCHandle &outHandle);
void FDServeEnd(const IPC::IPCHandle &handle);
bool FDAccept(const IPC::IPCHandle &handle, int &outFd);
}