device: renew dhcp leases on awake for software devices
[NetworkManager.git] / callouts / nm-dispatcher-utils.h
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /* NetworkManager -- Network link manager
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  *
18  * Copyright (C) 2008 - 2011 Red Hat, Inc.
19  */
20
21 #ifndef __NETWORKMANAGER_DISPATCHER_UTILS_H__
22 #define __NETWORKMANAGER_DISPATCHER_UTILS_H__
23
24 #include "nm-default.h"
25
26 char **
27 nm_dispatcher_utils_construct_envp (const char *action,
28                                     GVariant *connection_dict,
29                                     GVariant *connection_props,
30                                     GVariant *device_props,
31                                     GVariant *device_ip4_props,
32                                     GVariant *device_ip6_props,
33                                     GVariant *device_dhcp4_props,
34                                     GVariant *device_dhcp6_props,
35                                     const char *vpn_ip_iface,
36                                     GVariant *vpn_ip4_props,
37                                     GVariant *vpn_ip6_props,
38                                     char **out_iface,
39                                     const char **out_error_message);
40
41 #endif  /* __NETWORKMANAGER_DISPATCHER_UTILS_H__ */
42