From 37c0fee672afd3701ea3ed87958da4d548bf1be3 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Thu, 19 Feb 2026 00:43:50 +0100 Subject: Rename print_endpoint to print_endpoint_description and fix clone URL --- src/bobink_opcua_client.c | 2 +- src/common.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/bobink_opcua_client.c b/src/bobink_opcua_client.c index 79edef6..b7c004c 100644 --- a/src/bobink_opcua_client.c +++ b/src/bobink_opcua_client.c @@ -104,7 +104,7 @@ _s_op_get_endpoints (UA_Client *client, const char *url) } for (size_t i = 0; i < array_size; i++) - print_endpoint (&array[i], i); + print_endpoint_description (&array[i], i); UA_Array_delete (array, array_size, &UA_TYPES[UA_TYPES_ENDPOINTDESCRIPTION]); return EXIT_SUCCESS; diff --git a/src/common.h b/src/common.h index 66bf905..69afecc 100644 --- a/src/common.h +++ b/src/common.h @@ -289,6 +289,7 @@ print_application_description (const UA_ApplicationDescription *description, * @param endpoint The endpoint description to print. * @param index Display index (e.g. position in the GetEndpoints result array). */ -void print_endpoint (const UA_EndpointDescription *endpoint, size_t index); +void print_endpoint_description (const UA_EndpointDescription *endpoint, + size_t index); #endif /* DISCOVERY_COMMON_H */ -- cgit v1.2.3