summaryrefslogtreecommitdiff
path: root/inc/libs3.h
diff options
context:
space:
mode:
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)
/** **************************************************************************