diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-02-12 21:34:09 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-02-12 21:34:09 +0200 |
commit | 85a13d70cc5249e2f583bb16f0914646aefe4fe6 (patch) | |
tree | 3c83832a146120a8ec8f026ab97af2698936e72c /proto_lib/api_protocol.h | |
parent | 1d41574c6e8e7bbf3705645feb429df6281ccb83 (diff) |
server and shell exec module should work now
TODO: implement basic protocol support in client
Diffstat (limited to 'proto_lib/api_protocol.h')
-rw-r--r-- | proto_lib/api_protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto_lib/api_protocol.h b/proto_lib/api_protocol.h index 2e42d42..b18d2e7 100644 --- a/proto_lib/api_protocol.h +++ b/proto_lib/api_protocol.h @@ -64,6 +64,7 @@ public: static bool serv_validate_client_proto(packet&); //false on fail static packet *serv_make_services_packet(std::list<service_s>&); static packet *serv_make_command_reply_packet(std::string&, status s); + static packet *serv_make_command_reply_packet(std::vector<unsigned char>&, status s); static svc_cmd serv_extract_command(packet&); //generic |