aqhome: more work on new event/ipc interface.
This commit is contained in:
29
aqhome/ipc2/tty_endpoint.h
Normal file
29
aqhome/ipc2/tty_endpoint.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/****************************************************************************
|
||||
* This file is part of the project AqHome.
|
||||
* AqHome (c) by 2025 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_TTY_ENDPOINT_H
|
||||
#define AQH_TTY_ENDPOINT_H
|
||||
|
||||
|
||||
|
||||
#include <aqhome/events2/object.h>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param eventLoop pointer to eventLoop
|
||||
* @param fd open file descriptor for tty object (see @ref AQH_TtyObject_OpenAndInitDevice).
|
||||
*/
|
||||
AQHOME_API AQH_OBJECT *AQH_TtyEndpoint2_new(AQH_EVENT_LOOP *eventLoop, int fd);
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user