connection type
This commit is contained in:
parent
158cc47897
commit
6b1426f10b
@ -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
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user