uart: add modem IOCTLS

This commit is contained in:
Hay1tsme
2024-08-20 11:29:32 -04:00
parent 09306229f1
commit 1122b83a29
4 changed files with 36 additions and 10 deletions
+7
View File
@@ -25,6 +25,13 @@ struct uart {
SERIAL_LINE_CONTROL line;
SERIAL_TIMEOUTS timeouts;
DWORD mask;
bool cts_on;
bool dsr_on;
bool ring_on;
bool rlsd_on;
bool dtr_on;
bool rts_on;
ULONG modem_control;
struct iobuf written;
struct iobuf readable;
};