Correct PPTP server firewall rules chain.
[tomato/davidwu.git] / release / src / router / vsftpd / ipaddrparse.h
blobcae025f8869486688e65b3a0a0aea45c134704bd
1 #ifndef VSF_IPADDRPARSE_H
2 #define VSF_IPADDRPARSE_H
4 struct mystr;
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 */
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,
17 unsigned int items);
19 #endif /* VSF_IPADDRPARSE_H */