summaryrefslogtreecommitdiff
path: root/src/shared/net-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/net-util.h')
-rw-r--r--src/shared/net-util.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/shared/net-util.h b/src/shared/net-util.h
index 6b79a9cf80..54981725b0 100644
--- a/src/shared/net-util.h
+++ b/src/shared/net-util.h
@@ -22,15 +22,18 @@
#pragma once
#include <netinet/ether.h>
-
-#include "udev.h"
+#include <stdbool.h>
bool net_match_config(const struct ether_addr *match_mac,
const char *match_path,
const char *match_driver,
const char *match_type,
const char *match_name,
- struct udev_device *device);
+ const char *dev_mac,
+ const char *dev_path,
+ const char *dev_driver,
+ const char *dev_type,
+ const char *dev_name);
int config_parse_hwaddr(const char *unit, const char *filename, unsigned line,
const char *section, const char *lvalue, int ltype,