chiark / gitweb /
tree-wide: remove Lennart's copyright lines
[elogind.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 #include <string.h>
7
8 #include "string-util.h"
9
10 char *bus_label_escape(const char *s);
11 char *bus_label_unescape_n(const char *f, size_t l);
12
13 static inline char *bus_label_unescape(const char *f) {
14         return bus_label_unescape_n(f, strlen_ptr(f));
15 }