summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-tunnel.h
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2015-07-16 20:16:53 +0530
committerSusant Sahani <susant@redhat.com>2015-07-16 20:16:53 +0530
commit3b50bf800e60a88f6680a3664c9e280b8ba1f64a (patch)
tree87f92fd092ec5c4c1a338989e4a7fe528e78d3bb /src/network/networkd-netdev-tunnel.h
parenta94d64d256d1a2b73c578116f341824eb5d0fab1 (diff)
networkd: move config_parse_tunnel_address
move config_parse_tunnel_address from networkd.h to tunnel specific file networkd-netdev-tunnel.h
Diffstat (limited to 'src/network/networkd-netdev-tunnel.h')
-rw-r--r--src/network/networkd-netdev-tunnel.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-tunnel.h b/src/network/networkd-netdev-tunnel.h
index 88f57ac105..546c9f08b9 100644
--- a/src/network/networkd-netdev-tunnel.h
+++ b/src/network/networkd-netdev-tunnel.h
@@ -70,3 +70,14 @@ int config_parse_ip6tnl_mode(const char *unit, const char *filename,
unsigned section_line, const char *lvalue,
int ltype, const char *rvalue, void *data,
void *userdata);
+
+int config_parse_tunnel_address(const char *unit,
+ const char *filename,
+ unsigned line,
+ const char *section,
+ unsigned section_line,
+ const char *lvalue,
+ int ltype,
+ const char *rvalue,
+ void *data,
+ void *userdata);