mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-27 07:46:10 +03:00
21 lines
584 B
C
21 lines
584 B
C
|
// Copyright 2011 The Chromium Authors
|
||
|
// Use of this source code is governed by a BSD-style license that can be
|
||
|
// found in the LICENSE file.
|
||
|
|
||
|
// Winsock initialization must happen before any Winsock calls are made. The
|
||
|
// EnsureWinsockInit method will make sure that WSAStartup has been called.
|
||
|
|
||
|
#ifndef NET_BASE_WINSOCK_INIT_H_
|
||
|
#define NET_BASE_WINSOCK_INIT_H_
|
||
|
|
||
|
#include "net/base/net_export.h"
|
||
|
|
||
|
namespace net {
|
||
|
|
||
|
// Make sure that Winsock is initialized, calling WSAStartup if needed.
|
||
|
NET_EXPORT void EnsureWinsockInit();
|
||
|
|
||
|
} // namespace net
|
||
|
|
||
|
#endif // NET_BASE_WINSOCK_INIT_H_
|