1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
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 
bus_label_unescape(const char * f)12 static inline char *bus_label_unescape(const char *f) {
13         return bus_label_unescape_n(f, strlen_ptr(f));
14 }
15