summaryrefslogtreecommitdiff
path: root/proto_lib/api_protocol.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-11 08:08:33 +0200
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-11 08:08:33 +0200
commit224d96964ea3c9e541fcd5caa2778af25f71ba2e (patch)
treec5da1e011400f7873939c56c682e9a5448c241a6 /proto_lib/api_protocol.h
parent5a81b0e272a6e456e8c29ce2e755ac4e1c8b5546 (diff)
modified: proto_lib/api_protocol.h
modified: proto_lib/protocol.cpp
Diffstat (limited to 'proto_lib/api_protocol.h')
-rw-r--r--proto_lib/api_protocol.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto_lib/api_protocol.h b/proto_lib/api_protocol.h
index 8206854..39681e4 100644
--- a/proto_lib/api_protocol.h
+++ b/proto_lib/api_protocol.h
@@ -51,9 +51,9 @@ bool serv_validate_client_proto(packet&);
//client functions
-packet cli_make_auth_packet(); //should be first packet to server
-packet cli_make_command_packet(std::string &service, std::string &command);
-packet cli_request_services();
+packet *cli_make_auth_packet(); //should be first packet to server
+packet *cli_make_command_packet(std::string &service, std::string &command);
+packet *cli_request_services();
std::list<service_s> cli_extract_services(packet&);
bool cli_check_auth_reply(packet&); //false on fail
std::string cli_parse_command_reply(packet&);