Commit 20eab728e497e13578343dc959c5cc45924df9d4
1 parent
27efb223
Exists in
master
and in
1 other branch
Working on IPC module for windows.
Showing
2 changed files
with
16 additions
and
1 deletions
Show diff stats
private.h
... | ... | @@ -223,9 +223,23 @@ |
223 | 223 | private: |
224 | 224 | |
225 | 225 | #ifdef _WIN32 |
226 | + /// @brief IPC Data type. | |
227 | + enum Type : uint8_t { | |
228 | + String = 's', | |
229 | + Boolean = 'b', | |
230 | + Uchar = 'y', | |
231 | + Int16 = 'n', | |
232 | + Uint16 = 'q', | |
233 | + Int32 = 'i', | |
234 | + Int32x = 'h', | |
235 | + Uint32 = 'u', | |
236 | + Int64 = 'x', | |
237 | + Uint64 = 't' | |
238 | + }; | |
239 | + | |
226 | 240 | #pragma pack(1) |
227 | 241 | struct DataBlock { |
228 | - uint8_t type; | |
242 | + Type type; | |
229 | 243 | }; |
230 | 244 | #pragma pack() |
231 | 245 | ... | ... |
windows/request.cc