From: Scott Cantor Date: Thu, 18 Oct 2007 18:01:29 +0000 (+0000) Subject: Export functions. X-Git-Tag: 2.0-beta2~30 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=26f9f3da530ba9297064c1159719ee20645c175d Export functions. --- diff --git a/saml/saml2/binding/SAML2Redirect.h b/saml/saml2/binding/SAML2Redirect.h index 5612fb7..23296da 100644 --- a/saml/saml2/binding/SAML2Redirect.h +++ b/saml/saml2/binding/SAML2Redirect.h @@ -34,7 +34,7 @@ namespace opensaml { * @param out_len will contain the length of the resulting data * @return allocated buffer of out_len bytes containing deflated data */ - char* deflate(char* in, unsigned int in_len, unsigned int* out_len); + SAML_EXPORT char* deflate(char* in, unsigned int in_len, unsigned int* out_len); /** * Inflates data compressed in accordance with RFC1951 and sends the @@ -45,6 +45,6 @@ namespace opensaml { * @param out reference to output stream to receive data * @return number of bytes written to stream */ - unsigned int inflate(char* in, unsigned int in_len, std::ostream& out); + SAML_EXPORT unsigned int inflate(char* in, unsigned int in_len, std::ostream& out); }; };