1 #ifndef VSF_IPADDRPARSE_H
2 #define VSF_IPADDRPARSE_H
6 /* Effectively doing the same sort of job as inet_pton. Since inet_pton does
7 * a non-trivial amount of parsing, we'll do it ourselves for maximum security
11 const unsigned char* vsf_sysutil_parse_ipv6(const struct mystr
* p_str
);
13 const unsigned char* vsf_sysutil_parse_ipv4(const struct mystr
* p_str
);
15 const unsigned char* vsf_sysutil_parse_uchar_string_sep(
16 const struct mystr
* p_str
, char sep
, unsigned char* p_items
,
19 #endif /* VSF_IPADDRPARSE_H */