Index: net/socket/sctp_support.cc |
=================================================================== |
--- net/socket/sctp_support.cc (revision 0) |
+++ net/socket/sctp_support.cc (revision 0) |
@@ -0,0 +1,30 @@ |
+// Copyright (c) 2011 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. |
+ |
+#include <stdio.h> |
+#include "base/logging.h" |
+#include "net/socket/sctp_support.h" |
+ |
+namespace net { |
+ |
+static bool g_sctp_enabled_ = false; |
+static bool g_sctp_control_stream_enabled_ = false; |
+ |
+bool sctp_enabled() { |
+ return g_sctp_enabled_; |
+} |
+ |
+void set_sctp_enabled() { |
+ g_sctp_enabled_ = true; |
+} |
+ |
+bool sctp_control_stream_enabled() { |
+ return g_sctp_control_stream_enabled_; |
+} |
+ |
+void set_sctp_control_stream_enabled() { |
+ g_sctp_control_stream_enabled_ = true; |
+} |
+ |
+} // namespace net |
Property changes on: net/socket/sctp_support.cc |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |