]> Kevux Git Server - fll/commit
Update: Network additions and improvements, minor documentation comment clean ups.
authorKevin Day <kevin@kevux.org>
Sun, 9 Jul 2023 16:33:46 +0000 (11:33 -0500)
committerKevin Day <kevin@kevux.org>
Sun, 9 Jul 2023 16:33:46 +0000 (11:33 -0500)
commit73146111b3d045670dbb3fc53a4d77e88386ca9a
treec508a00db97549c8d38e23fac8b781e68c2be6a2
parenta5f0b30a3c6948d4ca4f5c13312eb573b34c1038
Update: Network additions and improvements, minor documentation comment clean ups.

Add f_network_is_ip_address() along with appropriate unit tests.
The unit test are not as thorough as they could be.
I did not fully review the IPv6 standard, which has a rather absurd design.
There are likely things that I do not yet know about that are not supported.
Specifically do not support port number on any IPv6 address without brackets.
(The IPv6 address notation standard is horribly written.)
level_0/f_network/c/network.c
level_0/f_network/c/network.h
level_0/f_network/data/build/settings-tests
level_0/f_network/tests/unit/c/test-network-is_ip_address.c [new file with mode: 0644]
level_0/f_network/tests/unit/c/test-network-is_ip_address.h [new file with mode: 0644]
level_0/f_network/tests/unit/c/test-network.c
level_0/f_network/tests/unit/c/test-network.h