msg: added endpoint for tty.

This commit is contained in:
Martin Preuss
2023-07-10 21:38:22 +02:00
parent 2d393630d8
commit 43b23b2636
4 changed files with 460 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
/****************************************************************************
* This file is part of the project AqHome.
* AqHome (c) by 2023 Martin Preuss, all rights reserved.
*
* The license for this file can be found in the file COPYING which you
* should have received along with this file.
****************************************************************************/
#ifndef AQH_MSGENDPOINT2_TTY_P_H
#define AQH_MSGENDPOINT2_TTY_P_H
#include <aqhome/api.h>
#include "aqhome/msg/endpoint2_tty.h"
#include <termios.h>
typedef struct AQH_MSG_ENDPOINT2_TTY AQH_MSG_ENDPOINT2_TTY;
struct AQH_MSG_ENDPOINT2_TTY {
char *deviceName;
struct termios previousOptions;
int intendedAttnState;
};
#endif