isinetaddr/include/isinetaddr.h
0x1eef f6e29e4756 Add isinetaddr6
This change introduces `isinetaddr6`, a function that validates
IPv6 addresses. The interface is identical to isinetaddr, where
0 is returned for an invalid address and 1 is returned for a valid
address.
2023-09-11 22:51:35 -03:00

4 lines
113 B
C

#pragma once
int isinetaddr(const char *str);
int iscidraddr(const char *str);
int isinetaddr6(const char *str);