diff --git a/src/ipc/lowlevel.cr b/src/ipc/lowlevel.cr index fd7e1b8..71bef9d 100644 --- a/src/ipc/lowlevel.cr +++ b/src/ipc/lowlevel.cr @@ -21,13 +21,6 @@ lib LibIPC revents : LibC::Short end - struct Ctx - cinfos : Connection* - pollfd : Pollfd* - tx : Messages - size : LibC::UInt64T - end - struct Switching origin : LibC::Int dest : LibC::Int @@ -42,6 +35,14 @@ lib LibIPC size : LibC::UInt end + struct Ctx + cinfos : Connection* + pollfd : Pollfd* + size : LibC::UInt64T + tx : Messages + switchdb : Switchings + end + enum MessageType ServerClose Error