Index: net/socket/sctp_client_socket.h |
=================================================================== |
--- net/socket/sctp_client_socket.h (revision 0) |
+++ net/socket/sctp_client_socket.h (revision 0) |
@@ -0,0 +1,28 @@ |
+// 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. |
+ |
+#ifndef NET_SOCKET_SCTP_CLIENT_SOCKET_H_ |
+#define NET_SOCKET_SCTP_CLIENT_SOCKET_H_ |
+#pragma once |
+ |
+#include "build/build_config.h" |
+ |
+#if defined(OS_WIN) |
+#include "net/socket/sctp_client_socket_win.h" |
+#elif defined(OS_POSIX) |
+#include "net/socket/sctp_client_socket_libevent.h" |
+#endif |
+ |
+namespace net { |
+ |
+// A client socket that uses SCTP as the transport layer. |
+#if defined(OS_WIN) |
+typedef SCTPClientSocketWin SCTPClientSocket; |
+#elif defined(OS_POSIX) |
+typedef SCTPClientSocketLibevent SCTPClientSocket; |
+#endif |
+ |
+} // namespace net |
+ |
+#endif // NET_SOCKET_SCTP_CLIENT_SOCKET_H_ |
Property changes on: net/socket/sctp_client_socket.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |