/****************************************************************************
 * 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_ENDPOINT_P_H
#define AQH_ENDPOINT_P_H


#include "./endpoint.h"

typedef struct AQH_ENDPOINT AQH_ENDPOINT;

struct AQH_ENDPOINT {
  AQH_MESSAGE_LIST *msgOutList;
  AQH_MESSAGE_LIST *msgInList;
  AQH_OBJECT *msgWriter;
  AQH_OBJECT *msgReader;

  int apiCode;
  uint32_t lastMsgId;
  int state;
  uint32_t permissions;
  uint32_t flags;
  char *serviceName;
  char *userName;

  uint32_t acceptedMsgGroups;
};



#endif

