From 766498cd02fb29942e8c3279d0bb89f23a553ae4 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 22 May 2012 18:11:07 +0000 Subject: QPID-3603: HA backups pass identifying info to primary. Pass hostname, management UUID and status in link connection arguments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1341580 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/framing/Uuid.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpp/include') diff --git a/cpp/include/qpid/framing/Uuid.h b/cpp/include/qpid/framing/Uuid.h index ccfd7e9534..e9e56ed7c9 100644 --- a/cpp/include/qpid/framing/Uuid.h +++ b/cpp/include/qpid/framing/Uuid.h @@ -48,6 +48,9 @@ struct Uuid : public boost::array { /** Copy from 16 bytes of data. */ QPID_COMMON_EXTERN Uuid(const uint8_t* data); + /** Parse format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb. */ + QPID_COMMON_EXTERN Uuid(const std::string&); + // Default op= and copy ctor are fine. // boost::array gives us ==, < etc. -- cgit v1.2.1