diff options
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/charset.h | 14 | ||||
-rw-r--r-- | src/utils/cpuid.h | 2 |
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 { |