Obsolete
/
ipc.cr-old
Archived
3
0
Fork 0

connection type

poll
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 "./message"
require "./event"
require "./connection"
class IPC::Context
property base_timer : Float64 = 0.0

View File

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