chiark / gitweb /
tree-wide: drop 'This file is part of systemd' blurb
[elogind.git] / src / basic / bus-label.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5   Copyright 2013 Lennart Poettering
6 ***/
7
8 #include <stddef.h>
9 #include <stdlib.h>
10 #include <string.h>
11
12 #include "string-util.h"
13
14 char *bus_label_escape(const char *s);
15 char *bus_label_unescape_n(const char *f, size_t l);
16
17 static inline char *bus_label_unescape(const char *f) {
18         return bus_label_unescape_n(f, strlen_ptr(f));
19 }