aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-08 20:35:54 +0000
committerlloyd <[email protected]>2008-11-08 20:35:54 +0000
commit3c77da389db0769cf07cddf7629a62e156fe577b (patch)
treec79a275c7df6ebbdff6d7277673e488bd9b80f49 /src/utils
parent73ba6c48e349955f05e81d674172c9c737540280 (diff)
Split the last parts of the 'core' module
Add some missing info.txts
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/botan.h15
-rw-r--r--src/utils/charset.h11
-rw-r--r--src/utils/info.txt1
3 files changed, 26 insertions, 1 deletions
diff --git a/src/utils/botan.h b/src/utils/botan.h
new file mode 100644
index 000000000..1149fe063
--- /dev/null
+++ b/src/utils/botan.h
@@ -0,0 +1,15 @@
+/**
+* A vague catch all include file for Botan
+* (C) 1999-2007 Jack Lloyd
+*/
+
+#include <botan/init.h>
+#include <botan/lookup.h>
+#include <botan/version.h>
+#include <botan/parsing.h>
+
+#include <botan/rng.h>
+
+#if defined(BOTAN_HAS_AUTO_SEEDING_RNG)
+ #include <botan/auto_rng.h>
+#endif
diff --git a/src/utils/charset.h b/src/utils/charset.h
index ac9f501a0..25827c8a7 100644
--- a/src/utils/charset.h
+++ b/src/utils/charset.h
@@ -7,11 +7,20 @@
#define BOTAN_CHARSET_H__
#include <botan/types.h>
-#include <botan/enums.h>
#include <string>
namespace Botan {
+/**
+* The different charsets (nominally) supported by Botan.
+*/
+enum Character_Set {
+ LOCAL_CHARSET,
+ UCS2_CHARSET,
+ UTF8_CHARSET,
+ LATIN1_CHARSET
+};
+
namespace Charset {
/*************************************************
diff --git a/src/utils/info.txt b/src/utils/info.txt
index 4999a08e7..5fad7127b 100644
--- a/src/utils/info.txt
+++ b/src/utils/info.txt
@@ -14,6 +14,7 @@ filters
<add>
bit_ops.h
+botan.h
bswap.h
buf_comp.h
charset.cpp