diff options
author | midipix <writeonce@midipix.org> | 2017-09-08 22:22:22 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-09-08 22:49:23 -0400 |
commit | a6563a605d7906252921503e89eae8da00eb599c (patch) | |
tree | f367db339390805ce4f63f329546a9494a70327f /include/ntapi/nt_tty.h | |
parent | 14cb5f9e41e8f906499c50179cc768fddc9b10f8 (diff) | |
download | ntapi-a6563a605d7906252921503e89eae8da00eb599c.tar.bz2 ntapi-a6563a605d7906252921503e89eae8da00eb599c.tar.xz |
subsystem interfaces: integrated sysv msgqueue definitions.
Diffstat (limited to 'include/ntapi/nt_tty.h')
-rw-r--r-- | include/ntapi/nt_tty.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/ntapi/nt_tty.h b/include/ntapi/nt_tty.h index 5555d85..3ad46c7 100644 --- a/include/ntapi/nt_tty.h +++ b/include/ntapi/nt_tty.h @@ -16,6 +16,7 @@ #include "nt_port.h" #include "nt_termios.h" #include "nt_sem.h" +#include "nt_msq.h" /* tty affiliation */ typedef struct _nt_tty_affiliation { @@ -65,6 +66,8 @@ typedef enum _nt_tty_opcode { NT_TTY_QUERY_INFORMATION_SECTION, NT_TTY_QUERY_INFORMATION_PTY, NT_TTY_QUERY_INFORMATION_SEMAPHORE, + NT_TTY_QUERY_INFORMATION_MSGQUEUE, + NT_TTY_QUERY_INFORMATION_RESERVED, /* peer daemon calls */ NT_TTY_REQUEST_PEER, NT_TTY_SIGNAL_PEER, @@ -92,6 +95,21 @@ typedef enum _nt_tty_opcode { NT_TTY_SEM_TRACE, NT_TTY_SEM_TRANSFER, NT_TTY_SEM_WAIT, + /* msgqueue */ + NT_TTY_MSQ_ALLOC, + NT_TTY_MSQ_FREE, + NT_TTY_MSQ_OPEN, + NT_TTY_MSQ_CLOSE, + NT_TTY_MSQ_SEND, + NT_TTY_MSQ_RECV, + NT_TTY_MSQ_QUERY, + NT_TTY_MSQ_SET, + NT_TTY_MSQ_FCNTL, + NT_TTY_MSQ_IOCTL, + NT_TTY_MSQ_CANCEL, + NT_TTY_MSQ_TRACE, + NT_TTY_MSQ_TRANSFER, + NT_TTY_MSQ_WAIT, /* virtual mount system */ NT_TTY_VMS_QUERY, NT_TTY_VMS_REQUEST, @@ -120,6 +138,7 @@ typedef enum _nt_tty_server_info_class { NT_TTY_SERVER_DBM_SLOT_INFORMATION, NT_TTY_SERVER_DBG_SLOT_INFORMATION, NT_TTY_SERVER_SEM_SLOT_INFORMATION, + NT_TTY_SERVER_MSQ_SLOT_INFORMATION, NT_TTY_SERVER_INFORMATION_CAP } nt_tty_server_info_class; @@ -436,6 +455,15 @@ typedef struct __attr_ptr_size_aligned__ _nt_sem_info_msg { } nt_sem_info_msg; +typedef struct __attr_ptr_size_aligned__ _nt_msq_info_msg { + nt_port_message header; + struct { + nt_tty_msg_info ttyinfo; + nt_msq_info msqinfo; + } data; +} nt_msq_info_msg; + + typedef struct __attr_ptr_size_aligned__ _nt_tty_session_msg { nt_port_message header; struct { @@ -464,6 +492,7 @@ typedef struct __attr_ptr_size_aligned__ _nt_tty_port_msg { nt_tty_service_info svcinfo; nt_tty_section_info secinfo; nt_sem_info seminfo; + nt_msq_info msqinfo; }; } nt_tty_port_msg; |