diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-02-21 23:19:26 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-03-04 05:24:54 +0900 |
commit | 61a9fa8f0cb6eb75a0d5add82b1f5e9eeb932222 (patch) | |
tree | df6ab31e3995326994441ce1630e29e63a07349f /src/libsystemd-network/network-common.h | |
parent | dbdcd51f78bde5e9033d98d61bbb750c868bde9d (diff) | |
download | systemd-61a9fa8f0cb6eb75a0d5add82b1f5e9eeb932222.tar.gz |
libsystemd-network: introduce sd_xxx_{set,get}_ifname()
Diffstat (limited to 'src/libsystemd-network/network-common.h')
-rw-r--r-- | src/libsystemd-network/network-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsystemd-network/network-common.h b/src/libsystemd-network/network-common.h new file mode 100644 index 0000000000..76a6c4a989 --- /dev/null +++ b/src/libsystemd-network/network-common.h @@ -0,0 +1,4 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +#pragma once + +const char *get_ifname(int ifindex, char **ifname); |