Parsing.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_SRC_FTP_PARSING_H
10 #define SQUID_SRC_FTP_PARSING_H
11 
12 #include "ip/forward.h"
13 
14 namespace Ftp
15 {
16 
18 bool ParseIpPort(const char *buf, const char *forceIp, Ip::Address &addr);
19 
22 bool ParseProtoIpPort(const char *buf, Ip::Address &addr);
23 
25 const char *UnescapeDoubleQuoted(const char *quotedPath);
26 
27 } // namespace Ftp
28 
29 #endif /* SQUID_SRC_FTP_PARSING_H */
30 
bool ParseProtoIpPort(const char *buf, Ip::Address &addr)
Definition: Parsing.cc:52
Definition: forward.h:23
const char * UnescapeDoubleQuoted(const char *quotedPath)
parses an FTP-quoted quote-escaped path
Definition: Parsing.cc:90
bool ParseIpPort(const char *buf, const char *forceIp, Ip::Address &addr)
parses and validates "A1,A2,A3,A4,P1,P2" IP,port sequence
Definition: Parsing.cc:18

 

Introduction

Documentation

Support

Miscellaneous