summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2015-07-17 12:26:32 +0200
committerDavid Herrmann <dh.herrmann@googlemail.com>2015-07-17 12:26:32 +0200
commit724dd73d1be5b1cc2d181deb12bb8637b5f430d0 (patch)
treebc7f5886f613b4f05f0044e5b5d36778e2a8d77d /src
parentd3621df89c6036db8402a32b1201edb5049ab0b0 (diff)
parent3b50bf800e60a88f6680a3664c9e280b8ba1f64a (diff)
Merge pull request #607 from ssahani/vxlan1
networkd: move config parsers to specific header files
Diffstat (limited to 'src')
-rw-r--r--src/network/networkd-netdev-tunnel.h11
-rw-r--r--src/network/networkd-netdev-vxlan.h11
-rw-r--r--src/network/networkd.h22
3 files changed, 22 insertions, 22 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-netdev-vxlan.h b/src/network/networkd-netdev-vxlan.h
index fe5254e91f..e7d1306f13 100644
--- a/src/network/networkd-netdev-vxlan.h
+++ b/src/network/networkd-netdev-vxlan.h
@@ -53,3 +53,14 @@ struct VxLan {
};
extern const NetDevVTable vxlan_vtable;
+
+int config_parse_vxlan_group_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 f98c640822..81273a8786 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -319,28 +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);
-
-int config_parse_vxlan_group_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);