Index: webrtc/base/objc/RTCSSLAdapter.h |
diff --git a/webrtc/examples/objc/AppRTCDemo/ARDTURNClient.h b/webrtc/base/objc/RTCSSLAdapter.h |
similarity index 57% |
copy from webrtc/examples/objc/AppRTCDemo/ARDTURNClient.h |
copy to webrtc/base/objc/RTCSSLAdapter.h |
index 8f2a81734229fca65421613794b3ab1accca8c2e..11ac8af08ab36c80891ebd96a33297d189e5441c 100644 |
--- a/webrtc/examples/objc/AppRTCDemo/ARDTURNClient.h |
+++ b/webrtc/base/objc/RTCSSLAdapter.h |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright 2014 The WebRTC Project Authors. All rights reserved. |
+ * Copyright 2016 The WebRTC project authors. All Rights Reserved. |
* |
* Use of this source code is governed by a BSD-style license |
* that can be found in the LICENSE file in the root of the source |
@@ -10,11 +10,9 @@ |
#import <Foundation/Foundation.h> |
-@protocol ARDTURNClient <NSObject> |
- |
-// Returns TURN server urls if successful. |
-- (void)requestServersWithCompletionHandler: |
- (void (^)(NSArray *turnServers, |
- NSError *error))completionHandler; |
- |
-@end |
+/** |
+ * Initialize and clean up the SSL library. Failure is fatal. These call the |
+ * corresponding functions in webrtc/base/ssladapter.h. |
+ */ |
+BOOL RTCInitializeSSL(); |
+BOOL RTCCleanupSSL(); |