Files
aqhomecontrol/aqhome/ipc2/msgreader.h
2025-01-09 01:42:19 +01:00

33 lines
749 B
C

/****************************************************************************
* 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_MSGREADER_H
#define AQH_MSGREADER_H
#include <aqhome/events2/object.h>
enum {
/** param1=msgSize, param2=msgPointer */
AQH_MSG_READER_SIGNAL_MSGRECVD=AQH_OBJECT_SIGNAL_LAST,
/** param1: error code */
AQH_MSG_READER_SIGNAL_ERROR,
AQH_MSG_READER_SIGNAL_CLOSED
};
AQH_OBJECT *AQH_MsgReader_new(AQH_EVENT_LOOP *eventLoop, int fd);
#endif