connection type
parent
158cc47897
commit
6b1426f10b
|
@ -1,6 +1,7 @@
|
|||
require "./lowlevel"
|
||||
require "./message"
|
||||
require "./event"
|
||||
require "./connection"
|
||||
|
||||
class IPC::Context
|
||||
property base_timer : Float64 = 0.0
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in New Issue