]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/basic/bus-label.h
license: LGPL-2.1+ -> LGPL-2.1-or-later
[thirdparty/systemd.git] / src / basic / bus-label.h
CommitLineData
db9ecf05 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
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 9char *bus_label_escape(const char *s);
ad922737
DH
10char *bus_label_unescape_n(const char *f, size_t l);
11
12static inline char *bus_label_unescape(const char *f) {
7bf7ce28 13 return bus_label_unescape_n(f, strlen_ptr(f));
ad922737 14}