summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ntapi_pty.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/internal/ntapi_pty.h b/src/internal/ntapi_pty.h
index 711c5f5..a71a750 100644
--- a/src/internal/ntapi_pty.h
+++ b/src/internal/ntapi_pty.h
@@ -1,6 +1,6 @@
/********************************************************/
/* ntapi: Native API core library */
-/* Copyright (C) 2013--2017 Z. Gilboa */
+/* Copyright (C) 2013--2019 Z. Gilboa */
/* Released under GPLv2 and GPLv3; see COPYING.NTAPI. */
/********************************************************/
@@ -17,21 +17,21 @@
#define __PTY_WRITE 1
typedef struct nt_pty_context {
- nt_sync_block sync[2];
- void * addr;
- size_t size;
- void * hport;
- void * hpty;
- void * section;
- void * section_addr;
- size_t section_size;
- nt_guid guid;
- nt_luid luid;
- uint32_t access;
- uint32_t flags;
- uint32_t share;
- uint32_t options;
- nt_iosb iosb;
+ int32_t volatile lock[2];
+ void * addr;
+ size_t size;
+ void * hport;
+ void * hpty;
+ void * section;
+ void * section_addr;
+ size_t section_size;
+ nt_guid guid;
+ nt_luid luid;
+ uint32_t access;
+ uint32_t flags;
+ uint32_t share;
+ uint32_t options;
+ nt_iosb iosb;
} nt_pty;
#endif