chiark / gitweb /
Remove src/tty-ask-password-agent
[elogind.git] / src / udev / net / link-config.h
index 24fdb87e4c5c013e5eb9e15cfd56a2d4a6c1b4da..34facdeb5de6239aa712f3f769ab5449358a5794 100644 (file)
 #pragma once
 
 #include "ethtool-util.h"
-
-#include "condition-util.h"
-#include "libudev.h"
-#include "util.h"
+#include "condition.h"
 #include "list.h"
+#include "libudev.h"
 
 typedef struct link_config_ctx link_config_ctx;
 typedef struct link_config link_config;
@@ -39,6 +37,7 @@ typedef enum MACPolicy {
 } MACPolicy;
 
 typedef enum NamePolicy {
+        NAMEPOLICY_KERNEL,
         NAMEPOLICY_DATABASE,
         NAMEPOLICY_ONBOARD,
         NAMEPOLICY_SLOT,
@@ -52,9 +51,10 @@ struct link_config {
         char *filename;
 
         struct ether_addr *match_mac;
-        char *match_path;
-        char *match_driver;
-        char *match_type;
+        char **match_path;
+        char **match_driver;
+        char **match_type;
+        char **match_name;
         Condition *match_host;
         Condition *match_virt;
         Condition *match_kernel;