From f749f2d21c1b47e6dcd626633acff764a4484b99 Mon Sep 17 00:00:00 2001 From: Dhammika Pathirana Date: Mon, 13 Dec 2010 15:40:26 +0100 Subject: add basic uri validations Signed-off-by: Dhammika Pathirana --- src/socket_base.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/socket_base.hpp') diff --git a/src/socket_base.hpp b/src/socket_base.hpp index 69de24d..6580b64 100644 --- a/src/socket_base.hpp +++ b/src/socket_base.hpp @@ -128,6 +128,10 @@ namespace zmq // where it doesn't intersect the object being destroyed. bool destroyed; + // Parse URI string. + int parse_uri (const char *uri_, std::string &protocol_, + std::string &address_); + // Check whether transport protocol, as specified in connect or // bind, is available and compatible with the socket type. int check_protocol (const std::string &protocol_); -- cgit v1.2.3