1#ifndef VSF_IPADDRPARSE_H
2#define VSF_IPADDRPARSE_H
3
4struct mystr;
5
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
8 * and safety.
9 */
10
11const unsigned char* vsf_sysutil_parse_ipv6(const struct mystr* p_str);
12
13const unsigned char* vsf_sysutil_parse_ipv4(const struct mystr* p_str);
14
15const unsigned char* vsf_sysutil_parse_uchar_string_sep(
16  const struct mystr* p_str, char sep, unsigned char* p_items,
17  unsigned int items);
18
19#endif /* VSF_IPADDRPARSE_H */
20
21