]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/bus-label.h
tree-wide: drop string.h when string-util.h or friends are included
[thirdparty/systemd.git] / src / basic / bus-label.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 #include <stddef.h>
5 #include <stdlib.h>
6
7 #include "string-util.h"
8
9 char *bus_label_escape(const char *s);
10 char *bus_label_unescape_n(const char *f, size_t l);
11
12 static inline char *bus_label_unescape(const char *f) {
13 return bus_label_unescape_n(f, strlen_ptr(f));
14 }