aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-16 22:53:25 +0000
committerlloyd <[email protected]>2009-12-16 22:53:25 +0000
commitf3f36611db8c3f6c67c818d454973a0165b0fcf2 (patch)
tree1fc131e32869e00eb7c87e70bee53fe26bc276b3 /src/utils
parente65ec3c8aae63d8c1942ce786d3b8c1f68a81e91 (diff)
Add missing BOTAN_DLL exports.
Move most of the engine headers to internal
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/charset.h14
-rw-r--r--src/utils/cpuid.h2
2 files changed, 9 insertions, 7 deletions
diff --git a/src/utils/charset.h b/src/utils/charset.h
index eebb1997d..afb11733b 100644
--- a/src/utils/charset.h
+++ b/src/utils/charset.h
@@ -28,14 +28,16 @@ namespace Charset {
/*
* Character Set Handling
*/
-std::string transcode(const std::string&, Character_Set, Character_Set);
+std::string BOTAN_DLL transcode(const std::string& str,
+ Character_Set to,
+ Character_Set from);
-bool is_digit(char);
-bool is_space(char);
-bool caseless_cmp(char, char);
+bool BOTAN_DLL is_digit(char c);
+bool BOTAN_DLL is_space(char c);
+bool BOTAN_DLL caseless_cmp(char x, char y);
-byte char2digit(char);
-char digit2char(byte);
+byte BOTAN_DLL char2digit(char c);
+char BOTAN_DLL digit2char(byte b);
}
diff --git a/src/utils/cpuid.h b/src/utils/cpuid.h
index 455721af9..2c9599899 100644
--- a/src/utils/cpuid.h
+++ b/src/utils/cpuid.h
@@ -12,7 +12,7 @@
namespace Botan {
-class CPUID
+class BOTAN_DLL CPUID
{
public:
enum CPUID_bits {