36 lines
837 B
C
36 lines
837 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_IPC_SERVER_H
|
|
#define AQH_IPC_SERVER_H
|
|
|
|
|
|
#include <aqhome/ipc2/endpoint.h>
|
|
|
|
|
|
|
|
enum {
|
|
/** param2=pointer to endpoint object (see @ref AQH_Endpoint_new) */
|
|
AQH_IPC_SERVER_SIGNAL_NEWCLIENT=AQH_OBJECT_SIGNAL_LAST
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param eventLoop pointer to eventLoop
|
|
* @param fd socket to listen on (see @ref AQH_TcpdObject_new).
|
|
*/
|
|
AQHOME_API AQH_OBJECT *AQH_IpcServerObject_new(AQH_EVENT_LOOP *eventLoop, int fd);
|
|
|
|
|
|
|
|
#endif
|
|
|