naiveproxy/net/proxy_resolution/dhcpcsvc_init_win.h
2018-08-14 22:19:20 +00:00

21 lines
701 B
C++

// 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_PROXY_RESOLUTION_DHCPCSVC_INIT_WIN_H_
#define NET_PROXY_RESOLUTION_DHCPCSVC_INIT_WIN_H_
namespace net {
// Initialization of the Dhcpcsvc library must happen before any of its
// calls are made. This function will make sure that the appropriate
// initialization has been done, and that uninitialization is also
// performed at static uninitialization time.
//
// Note: This initializes only for DHCP, not DHCPv6.
void EnsureDhcpcsvcInit();
} // namespace net
#endif // NET_PROXY_RESOLUTION_DHCPCSVC_INIT_WIN_H_