connector class hinzugefuegt und in client "eingebaut"
[ssftp.git] / src / command.hpp
blob68d8a71c0eb16f6e9fce8031de59e70c4a8614bc
1 #ifndef __command_hpp__
2 #define __command_hpp__
4 #include <string>
7 namespace ssftp
9 struct command
11 std::string cmd, args;
12 //ctor
13 command(std::string cmd="", std::string args="") : cmd(cmd), args(args) {}
16 namespace commands
18 struct user : command
20 user() : command("user") {}
21 user(std::string args) : command("user", args) {}
23 struct pass : command
25 pass() : command("pass") {}
26 pass(std::string args) : command("pass", args) {}
32 #endif