aqhome-tool: move basic client code on folder up.

This commit is contained in:
Martin Preuss
2025-02-27 23:55:29 +01:00
parent f2d527cd2f
commit e308e07b87
13 changed files with 11 additions and 14 deletions

View File

@@ -34,6 +34,8 @@
<headers dist="true" >
utils.h
client.h
client_p.h
</headers>
<sources>
@@ -41,6 +43,7 @@
main.c
utils.c
client.c
</sources>
<useTargets>

View File

@@ -11,7 +11,7 @@
#endif
#include "./client_p.h"
#include "../utils.h"
#include "./utils.h"
#include "aqhome/aqhome.h"
#include "aqhome/msg/ipc/m_ipc.h"

View File

@@ -33,8 +33,6 @@
</setVar>
<headers dist="true" >
client.h
client_p.h
getvalues.h
getdevices.h
adddata.h
@@ -47,7 +45,6 @@
<sources>
$(local/typefiles)
client.c
getvalues.c
getdevices.c
adddata.c

View File

@@ -11,7 +11,7 @@
#endif
#include "./adddata.h"
#include "./client.h"
#include "../client.h"
#include "../utils.h"
#include "aqhome/msg/ipc/m_ipc.h"

View File

@@ -11,7 +11,7 @@
#endif
#include "./getvalues.h"
#include "./client.h"
#include "../client.h"
#include "../utils.h"
#include "aqhome/msg/ipc/m_ipc.h"

View File

@@ -11,7 +11,7 @@
#endif
#include "./getvalues.h"
#include "./client.h"
#include "../client.h"
#include "../utils.h"
#include "aqhome/msg/ipc/m_ipc.h"

View File

@@ -11,7 +11,7 @@
#endif
#include "./getvalues.h"
#include "./client.h"
#include "../client.h"
#include "../utils.h"
#include "aqhome/msg/ipc/m_ipc.h"

View File

@@ -11,7 +11,7 @@
#endif
#include "./moddevice.h"
#include "./client.h"
#include "../client.h"
#include "../utils.h"
#include "aqhome/msg/ipc/m_ipc.h"

View File

@@ -11,7 +11,7 @@
#endif
#include "./setdata.h"
#include "./client.h"
#include "../client.h"
#include "../utils.h"
#include "aqhome/msg/ipc/m_ipc.h"

View File

@@ -11,7 +11,7 @@
#endif
#include "./watch.h"
#include "./client.h"
#include "../client.h"
#include "../utils.h"
#include "aqhome/ipc2/endpoint.h"

View File

@@ -45,7 +45,6 @@ AQH_OBJECT *Utils2_SetupBrokerClientEndpoint(AQH_EVENT_LOOP *eventLoop, GWEN_DB_
{
const char *brokerAddress;
int brokerPort;
const char *brokerClientId;
brokerAddress=GWEN_DB_GetCharValue(dbArgs, "brokerAddress", 0, NULL);
if (!(brokerAddress && *brokerAddress))
@@ -55,8 +54,6 @@ AQH_OBJECT *Utils2_SetupBrokerClientEndpoint(AQH_EVENT_LOOP *eventLoop, GWEN_DB_
if (brokerPort<0)
brokerPort=GWEN_DB_GetIntValue(dbArgs, "ConfigFile/brokerPort", 0, 45456);
brokerClientId=GWEN_DB_GetCharValue(dbArgs, "brokerClientId", 0, "aqhome-tool");
if (brokerAddress && *brokerAddress && brokerPort) {
AQH_OBJECT *ep;
int fd;