1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/BBA1.5_platform/apps/public/vsftpd-2.3.2/ipaddrparse.h
2024-07-22 01:58:46 -03:00

21 lines
566 B
C

#ifndef VSF_IPADDRPARSE_H
#define VSF_IPADDRPARSE_H
struct mystr;
/* Effectively doing the same sort of job as inet_pton. Since inet_pton does
* a non-trivial amount of parsing, we'll do it ourselves for maximum security
* and safety.
*/
const unsigned char* vsf_sysutil_parse_ipv6(const struct mystr* p_str);
const unsigned char* vsf_sysutil_parse_ipv4(const struct mystr* p_str);
const unsigned char* vsf_sysutil_parse_uchar_string_sep(
const struct mystr* p_str, char sep, unsigned char* p_items,
unsigned int items);
#endif /* VSF_IPADDRPARSE_H */