Add FTP protocol debugging facilities.
[dftpd.git] / String.hpp
blob0fe1ee0e9586b06dc02ae47fdcd6a7622f8b2d7c
1 #ifndef __DFTPD__STRING_HPP__
2 #define __DFTPD__STRING_HPP__
4 #include <vector>
5 #include <string>
7 typedef std::vector<std::string> PathVector;
8 typedef std::vector<std::string> Command;
9 typedef std::vector<std::string> PortVector;
11 PathVector SplitPath( const std::string& str );
12 PortVector SplitPort( const std::string& str );
13 Command Split( const std::string& str );
14 Command ParseCommand( const std::string& cmd );
15 void ToUpper( std::string& str );
17 #endif