From b92a12fc14551f51f02a68fdf6c0265a758f1c15 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 4 May 2018 20:26:39 +0000 Subject: subsystem interfaces: integrated advisory file locking definitions. --- include/ntapi/nt_tty.h | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'include/ntapi/nt_tty.h') 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; -- cgit v1.2.3