summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-03-07 17:25:47 +0000
committerAlan Conway <aconway@apache.org>2013-03-07 17:25:47 +0000
commit1efef88b65557a4f50806f9c27f47f568d2b33bc (patch)
tree1f094812ed4bfe7dd9b9ecb0b38b3386c7018f44 /cpp/include
parent5e45cf6dcae0f9e7aa216b3c9653463ff1dcda64 (diff)
downloadqpid-python-1efef88b65557a4f50806f9c27f47f568d2b33bc.tar.gz
QPID-4630: HA Fix starting from persistent store.
This was implemented in r1390123 but broken by subsequent changes. When re-starting a persistent HA cluster, the broker that becomes primary keeps its recovered queues while backup brokers discard their recovered queues and catch up from the primary. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1453971 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/qpid/amqp_0_10/Codecs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/include/qpid/amqp_0_10/Codecs.h b/cpp/include/qpid/amqp_0_10/Codecs.h
index d632a9f20a..99a06e0a32 100644
--- a/cpp/include/qpid/amqp_0_10/Codecs.h
+++ b/cpp/include/qpid/amqp_0_10/Codecs.h
@@ -24,10 +24,12 @@
#include "qpid/CommonImportExport.h"
#include "qpid/types/Variant.h"
+#include "boost/shared_ptr.hpp"
namespace qpid {
namespace framing {
class FieldTable;
+class FieldValue;
}
namespace amqp_0_10 {
/**
@@ -74,6 +76,8 @@ QPID_COMMON_EXTERN void translate(const qpid::types::Variant::Map& from, const s
QPID_COMMON_EXTERN void translate(const qpid::framing::FieldTable& from,
qpid::types::Variant::Map& to);
+QPID_COMMON_EXTERN boost::shared_ptr<framing::FieldValue> fieldValue(const types::Variant&);
+
}} // namespace qpid::amqp_0_10
#endif /*!QPID_AMQP_0_10_CODECS_H*/