15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Copyright (c) 2011 The Chromium Authors. All rights reserved.
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// found in the LICENSE file.
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef NET_PROXY_DHCPCSVC_INIT_WIN_H
55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define NET_PROXY_DHCPCSVC_INIT_WIN_H
65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)namespace net {
85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Initialization of the Dhcpcsvc library must happen before any of its
105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// calls are made.  This function will make sure that the appropriate
115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// initialization has been done, and that uninitialization is also
125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// performed at static uninitialization time.
135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)//
145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Note: This initializes only for DHCP, not DHCPv6.
155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)void EnsureDhcpcsvcInit();
165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)}  // namespace net
185821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif  // NET_PROXY_DHCPCSVC_INIT_WIN_H
20