Archived
3
0

connection type

This commit is contained in:
Karchnu 2020-07-03 13:48:39 +02:00
parent 158cc47897
commit 6b1426f10b
2 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,7 @@
require "./lowlevel" require "./lowlevel"
require "./message" require "./message"
require "./event" require "./event"
require "./connection"
class IPC::Context class IPC::Context
property base_timer : Float64 = 0.0 property base_timer : Float64 = 0.0

View File

@ -1,9 +1,15 @@
@[Link("ipc")] @[Link("ipc")]
lib LibIPC lib LibIPC
enum ConnectionType
IPC
External
Server
end
struct Connection struct Connection
type : UInt8 type : ConnectionType #
spath : LibC::Char* # [4096] # [PATH_MAX] spath : LibC::Char* # [4096] # [PATH_MAX]
end end
struct Pollfd struct Pollfd