0x1eef
f6e29e4756
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.
4 lines
113 B
C
4 lines
113 B
C
#pragma once
|
|
int isinetaddr(const char *str);
|
|
int iscidraddr(const char *str);
|
|
int isinetaddr6(const char *str);
|