diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-02-19 15:24:43 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-02-19 15:24:43 +0100 |
commit | 75f571c8844231f4172f131e1dd6ba2348eb54e5 (patch) | |
tree | 035106d6f65e69613a16470f9188d3aabab51179 /src/uuid.hpp | |
parent | b9caa319e279cd8cd367e0a64308b9e80c4ead3d (diff) |
Multi-hop REQ/REP, part XII., generate unique identities for anonymous connections
Diffstat (limited to 'src/uuid.hpp')
-rw-r--r-- | src/uuid.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uuid.hpp b/src/uuid.hpp index 001ea94..f565f8d 100644 --- a/src/uuid.hpp +++ b/src/uuid.hpp @@ -44,6 +44,9 @@ namespace zmq uuid_t (); ~uuid_t (); + // The length of textual representation of UUID. + enum { uuid_string_len = 36 }; + // Returns a pointer to buffer containing the textual // representation of the UUID. The caller is reponsible to // free the allocated memory. @@ -51,9 +54,6 @@ namespace zmq private: - // The length of textual representation of UUID. - enum { uuid_string_len = 36 }; - #if defined ZMQ_HAVE_WINDOWS #ifdef ZMQ_HAVE_MINGW32 typedef unsigned char* RPC_CSTR; |