]> Kevux Git Server - fll/commit
Feature: Add f_network_from_ip_address() and f_network_from_ip_name().
authorKevin Day <kevin@kevux.org>
Thu, 29 Jun 2023 02:24:14 +0000 (21:24 -0500)
committerKevin Day <kevin@kevux.org>
Thu, 29 Jun 2023 02:24:14 +0000 (21:24 -0500)
commit6dff17e2f94cbe8150943cba234d76d7773dbd8a
tree4fc8e64333372772f6e0b52a310351d885fc0f73
parent8b6d337d7da52cec548c37f2765d5be0cd6b37b0
Feature: Add f_network_from_ip_address() and f_network_from_ip_name().

These are added to provide wrappers to gethostbyaddr() and gethostbyname().

Update the unit tests.
14 files changed:
level_0/f_network/c/network.c
level_0/f_network/c/network.h
level_0/f_network/data/build/settings-mocks
level_0/f_network/data/build/settings-tests
level_0/f_network/tests/unit/c/mock-network.c
level_0/f_network/tests/unit/c/mock-network.h
level_0/f_network/tests/unit/c/test-network-from_ip_address.c [new file with mode: 0644]
level_0/f_network/tests/unit/c/test-network-from_ip_address.h [new file with mode: 0644]
level_0/f_network/tests/unit/c/test-network-from_ip_name.c [new file with mode: 0644]
level_0/f_network/tests/unit/c/test-network-from_ip_name.h [new file with mode: 0644]
level_0/f_network/tests/unit/c/test-network-from_ip_string.c
level_0/f_network/tests/unit/c/test-network-to_ip_string.c
level_0/f_network/tests/unit/c/test-network.c
level_0/f_network/tests/unit/c/test-network.h