Commit 0dc47c936c14dfa4958c0fff30ad6fe5c249d4f4
1 parent
3a509922
Exists in
master
and in
3 other branches
Working on IPC module for windows.
Showing
2 changed files
with
16 additions
and
1 deletions
Show diff stats
src/lib3270++/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 | ... | ... |
src/lib3270++/windows/request.cc