summaryrefslogtreecommitdiff
path: root/src/network/networkd-wait-online.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-wait-online.h')
-rw-r--r--src/network/networkd-wait-online.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/network/networkd-wait-online.h b/src/network/networkd-wait-online.h
index c57f902e9e..eb78647ebd 100644
--- a/src/network/networkd-wait-online.h
+++ b/src/network/networkd-wait-online.h
@@ -28,11 +28,16 @@
#include "util.h"
#include "hashmap.h"
-typedef struct Manager {
+typedef struct Manager Manager;
+
+#include "networkd-wait-online-link.h"
+
+struct Manager {
Hashmap *links;
Hashmap *links_by_name;
char **interfaces;
+ char **ignore;
sd_rtnl *rtnl;
sd_event_source *rtnl_event_source;
@@ -41,11 +46,12 @@ typedef struct Manager {
sd_event_source *network_monitor_event_source;
sd_event *event;
-} Manager;
+};
void manager_free(Manager *m);
-int manager_new(Manager **ret, char **interfaces);
+int manager_new(Manager **ret, char **interfaces, char **ignore);
DEFINE_TRIVIAL_CLEANUP_FUNC(Manager*, manager_free);
bool manager_all_configured(Manager *m);
+bool manager_ignore_link(Manager *m, Link *link);