summaryrefslogtreecommitdiff
path: root/cpp/include/qpid/messaging/Message.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/qpid/messaging/Message.h')
-rw-r--r--cpp/include/qpid/messaging/Message.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/cpp/include/qpid/messaging/Message.h b/cpp/include/qpid/messaging/Message.h
index ce7691edc1..c4b031046a 100644
--- a/cpp/include/qpid/messaging/Message.h
+++ b/cpp/include/qpid/messaging/Message.h
@@ -118,7 +118,9 @@ struct EncodingException : qpid::Exception
* any encoding specified by the content-type of the message
* @exception EncodingException
*/
-void decode(const Message& message, qpid::types::Variant::Map& map, const std::string& encoding = std::string());
+QPID_CLIENT_EXTERN void decode(const Message& message,
+ qpid::types::Variant::Map& map,
+ const std::string& encoding = std::string());
/**
* Decodes message content into a Variant::List.
*
@@ -128,7 +130,9 @@ void decode(const Message& message, qpid::types::Variant::Map& map, const std::s
* any encoding specified by the content-type of the message
* @exception EncodingException
*/
-void decode(const Message& message, qpid::types::Variant::List& list, const std::string& encoding = std::string());
+QPID_CLIENT_EXTERN void decode(const Message& message,
+ qpid::types::Variant::List& list,
+ const std::string& encoding = std::string());
/**
* Encodes a Variant::Map into a message.
*
@@ -138,7 +142,9 @@ void decode(const Message& message, qpid::types::Variant::List& list, const std:
* any encoding specified by the content-type of the message
* @exception EncodingException
*/
-void encode(const qpid::types::Variant::Map& map, Message& message, const std::string& encoding = std::string());
+QPID_CLIENT_EXTERN void encode(const qpid::types::Variant::Map& map,
+ Message& message,
+ const std::string& encoding = std::string());
/**
* Encodes a Variant::List into a message.
*
@@ -148,7 +154,9 @@ void encode(const qpid::types::Variant::Map& map, Message& message, const std::s
* any encoding specified by the content-type of the message
* @exception EncodingException
*/
-void encode(const qpid::types::Variant::List& list, Message& message, const std::string& encoding = std::string());
+QPID_CLIENT_EXTERN void encode(const qpid::types::Variant::List& list,
+ Message& message,
+ const std::string& encoding = std::string());
}} // namespace qpid::messaging