diff options
author | midipix <writeonce@midipix.org> | 2018-05-04 20:26:39 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-05-07 01:27:03 -0400 |
commit | b92a12fc14551f51f02a68fdf6c0265a758f1c15 (patch) | |
tree | 39647c9e41f6fa6cc40f480ce3d129e1b744802e /include/ntapi/nt_tty.h | |
parent | 0e25b018afe1d358f8734205c2b42e1eb045ccb6 (diff) | |
download | ntapi-b92a12fc14551f51f02a68fdf6c0265a758f1c15.tar.bz2 ntapi-b92a12fc14551f51f02a68fdf6c0265a758f1c15.tar.xz |
subsystem interfaces: integrated advisory file locking definitions.
Diffstat (limited to 'include/ntapi/nt_tty.h')
-rw-r--r-- | include/ntapi/nt_tty.h | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/include/ntapi/nt_tty.h b/include/ntapi/nt_tty.h index 3ad46c7..07797d4 100644 --- a/include/ntapi/nt_tty.h +++ b/include/ntapi/nt_tty.h @@ -17,6 +17,7 @@ #include "nt_termios.h" #include "nt_sem.h" #include "nt_msq.h" +#include "nt_afl.h" /* tty affiliation */ typedef struct _nt_tty_affiliation { @@ -67,7 +68,7 @@ typedef enum _nt_tty_opcode { NT_TTY_QUERY_INFORMATION_PTY, NT_TTY_QUERY_INFORMATION_SEMAPHORE, NT_TTY_QUERY_INFORMATION_MSGQUEUE, - NT_TTY_QUERY_INFORMATION_RESERVED, + NT_TTY_QUERY_INFORMATION_AFLOCK, /* peer daemon calls */ NT_TTY_REQUEST_PEER, NT_TTY_SIGNAL_PEER, @@ -110,6 +111,19 @@ typedef enum _nt_tty_opcode { NT_TTY_MSQ_TRACE, NT_TTY_MSQ_TRANSFER, NT_TTY_MSQ_WAIT, + /* aflock */ + NT_TTY_AFL_ALLOC, + NT_TTY_AFL_FREE, + NT_TTY_AFL_OPEN, + NT_TTY_AFL_CLOSE, + NT_TTY_AFL_QUERY, + NT_TTY_AFL_SET, + NT_TTY_AFL_FCNTL, + NT_TTY_AFL_IOCTL, + NT_TTY_AFL_CANCEL, + NT_TTY_AFL_TRACE, + NT_TTY_AFL_TRANSFER, + NT_TTY_AFL_WAIT, /* virtual mount system */ NT_TTY_VMS_QUERY, NT_TTY_VMS_REQUEST, @@ -139,6 +153,7 @@ typedef enum _nt_tty_server_info_class { NT_TTY_SERVER_DBG_SLOT_INFORMATION, NT_TTY_SERVER_SEM_SLOT_INFORMATION, NT_TTY_SERVER_MSQ_SLOT_INFORMATION, + NT_TTY_SERVER_AFL_SLOT_INFORMATION, NT_TTY_SERVER_INFORMATION_CAP } nt_tty_server_info_class; @@ -464,6 +479,15 @@ typedef struct __attr_ptr_size_aligned__ _nt_msq_info_msg { } nt_msq_info_msg; +typedef struct __attr_ptr_size_aligned__ _nt_afl_info_msg { + nt_port_message header; + struct { + nt_tty_msg_info ttyinfo; + nt_afl_info aflinfo; + } data; +} nt_afl_info_msg; + + typedef struct __attr_ptr_size_aligned__ _nt_tty_session_msg { nt_port_message header; struct { @@ -493,6 +517,7 @@ typedef struct __attr_ptr_size_aligned__ _nt_tty_port_msg { nt_tty_section_info secinfo; nt_sem_info seminfo; nt_msq_info msqinfo; + nt_afl_info aflinfo; }; } nt_tty_port_msg; |