summaryrefslogtreecommitdiff
path: root/inc/libs3.h
diff options
context:
space:
mode:
authorBryan Ischo <bryan@ischo.com>2008-08-13 13:27:47 +0000
committerBryan Ischo <bryan@ischo.com>2008-08-13 13:27:47 +0000
commit7fd73adff17c0511cf2c09da16d46d1a8e608866 (patch)
treefe09fe3dcdc6c68d9a17d80e64424c0e241c5247 /inc/libs3.h
parent06fcf9839f35d1bbac18819886375b8232d73f35 (diff)
downloadceph-libs3-7fd73adff17c0511cf2c09da16d46d1a8e608866.tar.gz
* Replaced openssl library with GnuTLS, libgcrypt, and hand-written base 64
encoding routine
Diffstat (limited to 'inc/libs3.h')
-rw-r--r--inc/libs3.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/inc/libs3.h b/inc/libs3.h
index 5d2054b..8c222c6 100644
--- a/inc/libs3.h
+++ b/inc/libs3.h
@@ -189,11 +189,21 @@
**/
#define S3_INIT_WINSOCK 1
+
+/**
+ * This constant is used by the S3_initialize() function, to specify that
+ * the gcrypt library should be initialized by libs3; should always be
+ * specified by the caller unless the caller specifically initializes the
+ * gcrypt library elsewhere.
+ **/
+#define S3_INIT_GCRYPT 2
+
+
/**
* This convenience constant is used by the S3_initialize() function to
- * indicate that alllibraries required by libs3 should be initialized.
+ * indicate that all libraries required by libs3 should be initialized.
**/
-#define S3_INIT_ALL (S3_INIT_WINSOCK)
+#define S3_INIT_ALL (S3_INIT_WINSOCK | S3_INIT_GCRYPT)
/** **************************************************************************