diff options
author | Dhammika Pathirana <dhammika@gmail.com> | 2010-12-13 15:40:26 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-12-13 15:40:26 +0100 |
commit | f749f2d21c1b47e6dcd626633acff764a4484b99 (patch) | |
tree | 1eaf064bb8d7c3425674c5ff36b6a1dd687015be /src/socket_base.hpp | |
parent | 22b2b9a2b6e1dd18d58ef51f453d2b4777e71be4 (diff) |
add basic uri validations
Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>
Diffstat (limited to 'src/socket_base.hpp')
-rw-r--r-- | src/socket_base.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
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_); |