summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-02-08 13:27:56 +0100
committerTom Gundersen <teg@jklm.no>2015-02-08 20:15:37 +0100
commit3175fcdec5d748e8db85a3e7fe1cb67f5f6a865d (patch)
tree69cb41bc019a32043bbb3fd3556f88aa5667b4fb /src/network/networkd.h
parentdbffab87f1504abc9f189dd253111693c99fbd9a (diff)
networkd: add basic org.freedesktop.network1.Network interface
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index d144c11edc..147b21acdc 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -104,7 +104,6 @@ struct Network {
char *match_driver;
char *match_type;
char *match_name;
- char *dhcp_vendor_class_identifier;
Condition *match_host;
Condition *match_virt;
@@ -116,6 +115,7 @@ struct Network {
NetDev *bond;
Hashmap *stacked_netdevs;
AddressFamilyBoolean dhcp;
+ char *dhcp_vendor_class_identifier;
bool dhcp_dns;
bool dhcp_ntp;
bool dhcp_mtu;
@@ -321,6 +321,11 @@ int config_parse_vxlan_group_address(const char *unit,
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);
+int network_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);
+
/* gperf */
const struct ConfigPerfItem* network_network_gperf_lookup(const char *key, unsigned length);