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