Code

SSL utils: Added init() and shutdown() functions for global setup/shutdown.
[sysdb.git] / src / include / utils / ssl.h
index 5379bc9ebf7f15af9b93844b9c78e6fc3c045a38..f15d3fab362cdbf3bc63ccf2a0d0ab776fc78c3c 100644 (file)
@@ -67,6 +67,16 @@ typedef struct sdb_ssl_server sdb_ssl_server_t;
 struct sdb_ssl_session;
 typedef struct sdb_ssl_session sdb_ssl_session_t;
 
+/*
+ * sdb_ssl_init, sdb_ssl_shutdown:
+ * Global setup and shutdown of SSL/TLS. This is required before any other
+ * function can be used.
+ */
+void
+sdb_ssl_init(void);
+void
+sdb_ssl_shutdown(void);
+
 /*
  * sdb_ssl_client_create:
  * Allocate and initialize a TLS/SSL client using the specified options. If no