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