aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/asn1_obj.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-27 15:48:00 -0500
committerJack Lloyd <[email protected]>2017-09-19 22:30:41 -0400
commit12c4dfec24e999ab80ff3a45e0b837976d4c390c (patch)
tree7de91a2b86aec055800b8e046729fcc10a31d6d8 /src/lib/asn1/asn1_obj.h
parent0c6c4e058109791a9f17971ca782dc10af3eb9bc (diff)
Add API stability annotations.
Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols.
Diffstat (limited to 'src/lib/asn1/asn1_obj.h')
-rw-r--r--src/lib/asn1/asn1_obj.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/asn1/asn1_obj.h b/src/lib/asn1/asn1_obj.h
index 536f75ced..2d349c984 100644
--- a/src/lib/asn1/asn1_obj.h
+++ b/src/lib/asn1/asn1_obj.h
@@ -58,7 +58,7 @@ enum ASN1_Tag {
/**
* Basic ASN.1 Object Interface
*/
-class BOTAN_DLL ASN1_Object
+class BOTAN_PUBLIC_API(2,0) ASN1_Object
{
public:
/**
@@ -82,7 +82,7 @@ class BOTAN_DLL ASN1_Object
/**
* BER Encoded Object
*/
-class BOTAN_DLL BER_Object
+class BOTAN_PUBLIC_API(2,0) BER_Object
{
public:
void assert_is_a(ASN1_Tag, ASN1_Tag);
@@ -115,7 +115,7 @@ bool maybe_BER(DataSource& src);
/**
* General BER Decoding Error Exception
*/
-struct BOTAN_DLL BER_Decoding_Error : public Decoding_Error
+struct BOTAN_PUBLIC_API(2,0) BER_Decoding_Error : public Decoding_Error
{
explicit BER_Decoding_Error(const std::string&);
};
@@ -123,7 +123,7 @@ struct BOTAN_DLL BER_Decoding_Error : public Decoding_Error
/**
* Exception For Incorrect BER Taggings
*/
-struct BOTAN_DLL BER_Bad_Tag : public BER_Decoding_Error
+struct BOTAN_PUBLIC_API(2,0) BER_Bad_Tag : public BER_Decoding_Error
{
BER_Bad_Tag(const std::string& msg, ASN1_Tag tag);
BER_Bad_Tag(const std::string& msg, ASN1_Tag tag1, ASN1_Tag tag2);