aqhome: add apiCode to endpoint.

This commit is contained in:
Martin Preuss
2025-02-28 00:22:26 +01:00
parent e308e07b87
commit 3e9aa7969b
4 changed files with 33 additions and 2 deletions

View File

@@ -34,6 +34,9 @@ enum {
*/
AQHOME_API AQH_OBJECT *AQH_Endpoint_new(AQH_EVENT_LOOP *eventLoop, AQH_OBJECT *msgReader, AQH_OBJECT *msgWriter);
AQHOME_API int AQH_Endpoint_GetApiCode(const AQH_OBJECT *o);
AQHOME_API void AQH_Endpoint_SetApiCode(AQH_OBJECT *o, int i);
AQHOME_API const char *AQH_Endpoint_GetServiceName(const AQH_OBJECT *o);
AQHOME_API void AQH_Endpoint_SetServiceName(AQH_OBJECT *o, const char *s);