]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
f01de965 KS |
2 | #pragma once |
3 | ||
11c3a366 | 4 | #include <stddef.h> |
ad922737 | 5 | #include <stdlib.h> |
ad922737 | 6 | |
7bf7ce28 LP |
7 | #include "string-util.h" |
8 | ||
f01de965 | 9 | char *bus_label_escape(const char *s); |
ad922737 DH |
10 | char *bus_label_unescape_n(const char *f, size_t l); |
11 | ||
12 | static inline char *bus_label_unescape(const char *f) { | |
7bf7ce28 | 13 | return bus_label_unescape_n(f, strlen_ptr(f)); |
ad922737 | 14 | } |