29 lines
810 B
C
29 lines
810 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_CLIENT_H
|
|
#define AQH_IPC_CLIENT_H
|
|
|
|
|
|
#include <aqhome/ipc2/endpoint.h>
|
|
|
|
|
|
|
|
/**
|
|
* Create an endpoint object (see @ref AQH_Endpoint_new) which works over a given socket.
|
|
*
|
|
* @param eventLoop pointer to eventLoop
|
|
* @param fd connected non-blocking socket to work with (see @ref AQH_TcpObject_CreateConnectedSocket).
|
|
*/
|
|
AQHOME_API AQH_OBJECT *AQH_IpcClientObject_new(AQH_EVENT_LOOP *eventLoop, int fd);
|
|
|
|
|
|
|
|
#endif
|
|
|