diff options
| author | Michael Biebl <biebl@debian.org> | 2010-11-29 19:00:27 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2010-11-29 19:00:27 +0100 |
| commit | 90764db0c249831a00ca5506fc2913a418eb980a (patch) | |
| tree | 88199b4c694a5977b407670b54e5c160985b1399 /src/nm-policy-hosts.h | |
| parent | 262012122f6fdb67f1645c009beb5f8c477e5868 (diff) | |
| parent | a6b89d35fabd9f5934b84d7cde22e9268f92c3d3 (diff) | |
Merge commit 'upstream/0.8.2' into experimental
Diffstat (limited to 'src/nm-policy-hosts.h')
| -rw-r--r-- | src/nm-policy-hosts.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/nm-policy-hosts.h b/src/nm-policy-hosts.h index 0a77e667..ebaaf0fd 100644 --- a/src/nm-policy-hosts.h +++ b/src/nm-policy-hosts.h @@ -24,7 +24,11 @@ #include <glib.h> gboolean nm_policy_hosts_update_etc_hosts (const char *hostname, - const char *fallback_hostname, + const char *old_hostname, + const char *fallback_hostname4, + const char *fallback_hostname6, + const char *ip4_addr, + const char *ip6_addr, gboolean *out_changed); /* Only for testcases; don't use outside of nm-policy-hosts.c */ @@ -33,7 +37,11 @@ gboolean nm_policy_hosts_find_token (const char *line, const char *token); GString *nm_policy_get_etc_hosts (const char **lines, gsize existing_len, const char *hostname, - const char *fallback_hostname, + const char *old_hostname, + const char *fallback_hostname4, + const char *fallback_hostname6, + const char *ip4_addr, + const char *ip6_addr, GError **error); #endif /* NM_POLICY_HOSTS_H */ |