/****************************************************************************
 * 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, int noAttn);



#endif

