fixing ctx structure
parent
91fd87ae5d
commit
4c47461ac9
|
@ -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
|
||||
|
|
Reference in New Issue