From 6871825565d0ba24436dbd5b92cc09e02f93af6a Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Mon, 26 Oct 2026 16:59:39 +0100 Subject: First run of making variable names more readable --- ot_accesslist.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ot_accesslist.h') diff --git a/ot_accesslist.h b/ot_accesslist.h index 9dfdd95..0a8bf4c 100644 --- a/ot_accesslist.h +++ b/ot_accesslist.h @@ -40,7 +40,7 @@ extern const char *g_accesslist_pipe_delete; #endif /* Test if an address is subset of an ot_net, return value is considered a bool */ -int address_in_net(const ot_ip6 address, const ot_net *net); +int accesslist_address_in_net(const ot_ip6 address, const ot_net *net); /* Store a value into a vector of struct { ot_net net, uint8_t[x] value } member; returns NULL @@ -51,13 +51,13 @@ int address_in_net(const ot_ip6 address, const ot_net *net); returns pointer to new member in vector for success member_size can be sizeof(ot_net) to reduce the lookup to a boolean mapping */ -void *set_value_for_net(const ot_net *net, ot_vector *vector, const void *value, const size_t member_size); +void *accesslist_set_value_for_net(const ot_net *net, ot_vector *vector, const void *value, const size_t member_size); /* Takes a vector filled with struct { ot_net net, uint8_t[x] value } member; Returns pointer to _member_ associated with the net, or NULL if not found member_size can be sizeof(ot_net) to reduce the lookup to a boolean mapping */ -void *get_value_for_net(const ot_ip6 address, const ot_vector *vector, const size_t member_size); +void *accesslist_get_value_for_net(const ot_ip6 address, const ot_vector *vector, const size_t member_size); #ifdef WANT_IP_FROM_PROXY int proxylist_add_network(const ot_net *proxy, const ot_net *net); -- cgit v1.3