5 * Copyright (C) 2007-2009 Intel Corporation. All rights reserved.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28 static int dhcp_probe(struct connman_element *element)
30 DBG("element %p name %s", element, element->name);
35 static void dhcp_remove(struct connman_element *element)
37 DBG("element %p name %s", element, element->name);
40 static struct connman_driver dhcp_driver = {
42 .type = CONNMAN_ELEMENT_TYPE_DHCP,
43 .priority = CONNMAN_DRIVER_PRIORITY_LOW,
45 .remove = dhcp_remove,
48 int __connman_dhcp_init(void)
50 return connman_driver_register(&dhcp_driver);
53 void __connman_dhcp_cleanup(void)
55 connman_driver_unregister(&dhcp_driver);