xref: /aosp_15_r20/external/cronet/net/proxy_resolution/win/dhcpcsvc_init_win.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2011 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef NET_PROXY_RESOLUTION_WIN_DHCPCSVC_INIT_WIN_H_
6 #define NET_PROXY_RESOLUTION_WIN_DHCPCSVC_INIT_WIN_H_
7 
8 namespace net {
9 
10 // Initialization of the Dhcpcsvc library must happen before any of its
11 // calls are made.  This function will make sure that the appropriate
12 // initialization has been done, and that uninitialization is also
13 // performed at static uninitialization time.
14 //
15 // Note: This initializes only for DHCP, not DHCPv6.
16 void EnsureDhcpcsvcInit();
17 
18 }  // namespace net
19 
20 #endif  // NET_PROXY_RESOLUTION_WIN_DHCPCSVC_INIT_WIN_H_
21