fixing ctx structure

poll
Karchnu 2020-07-09 01:46:22 +02:00
parent 91fd87ae5d
commit 4c47461ac9
1 changed files with 8 additions and 7 deletions

View File

@ -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