summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/engine/net/openssl_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/engine/net/openssl_init.h')
-rw-r--r--chrome/browser/sync/engine/net/openssl_init.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/chrome/browser/sync/engine/net/openssl_init.h b/chrome/browser/sync/engine/net/openssl_init.h
new file mode 100644
index 0000000..8cd4558
--- /dev/null
+++ b/chrome/browser/sync/engine/net/openssl_init.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// OpenSSL multi-threading initialization
+
+#ifndef CHROME_BROWSER_SYNC_ENGINE_NET_OPENSSL_INIT_H_
+#define CHROME_BROWSER_SYNC_ENGINE_NET_OPENSSL_INIT_H_
+
+namespace browser_sync {
+
+// Initializes the OpenSSL multithreading callbacks. Returns false on failure.
+void InitOpenSslMultithreading();
+
+// Cleans up the OpenSSL multithreading callbacks.
+void CleanupOpenSslMultithreading();
+
+} // namespace browser_sync
+
+#endif // CHROME_BROWSER_SYNC_ENGINE_NET_OPENSSL_INIT_H_