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,26 @@
/****************************************************************************
* 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_H
#define AQH_MSGENDPOINT2_TTY_H
#include <aqhome/api.h>
#include <gwenhywfar/endpoint2.h>
#define AQH_MSG_ENDPOINT2_TTY_NAME "tty"
AQHOME_API GWEN_MSG_ENDPOINT *AQH_TtyNodeEndpoint2_new(const char *devicePath, int groupId);
AQHOME_API int GWEN_TtyEndpoint2_Connect(GWEN_MSG_ENDPOINT2 *ep);
#endif