summaryrefslogtreecommitdiffstats
path: root/src/shared/netif-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-11-08 03:01:46 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-11-09 00:24:10 +0100
commit0295b2fd1d97c68010c7528af13e2952886d52e0 (patch)
tree8982b87698ea60292061f034c69d015611d2f071 /src/shared/netif-util.h
parentnetif-util: rename net_get_name_persistent() -> net_get_persistent_name() (diff)
downloadsystemd-0295b2fd1d97c68010c7528af13e2952886d52e0.tar.xz
systemd-0295b2fd1d97c68010c7528af13e2952886d52e0.zip
netif-util: split net_get_unique_predictable_data() into two
Diffstat (limited to 'src/shared/netif-util.h')
-rw-r--r--src/shared/netif-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/netif-util.h b/src/shared/netif-util.h
index d96a64b934..f239f042b5 100644
--- a/src/shared/netif-util.h
+++ b/src/shared/netif-util.h
@@ -5,7 +5,9 @@
#include <stdbool.h>
#include "sd-device.h"
+#include "sd-id128.h"
int net_get_type_string(sd_device *device, uint16_t iftype, char **ret);
const char *net_get_persistent_name(sd_device *device);
int net_get_unique_predictable_data(sd_device *device, bool use_sysname, uint64_t *ret);
+int net_get_unique_predictable_data_from_name(const char *name, const sd_id128_t *key, uint64_t *ret);