summaryrefslogtreecommitdiff
path: root/src/network
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
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')
-rw-r--r--src/network/networkd-netdev-tunnel.h11
-rw-r--r--src/network/networkd.h11
2 files changed, 11 insertions, 11 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);
diff --git a/src/network/networkd.h b/src/network/networkd.h
index e3f5a288bc..81273a8786 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -319,17 +319,6 @@ int config_parse_tunnel(const char *unit,
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);
-
extern const sd_bus_vtable network_vtable[];
int network_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);