msg: added endpoint for tty.
This commit is contained in:
26
aqhome/msg/endpoint2_tty.h
Normal file
26
aqhome/msg/endpoint2_tty.h
Normal 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
|
||||
Reference in New Issue
Block a user