chiark / gitweb /
systemctl: suppress a gcc sign assignemnt warning
[elogind.git] / util.h
diff --git a/util.h b/util.h
index a9c430f722f8b0749cf2e4ed43cb5932ca528515..8c9dea801eec0651d041f126505b636f38d8313c 100644 (file)
--- a/util.h
+++ b/util.h
@@ -3,6 +3,25 @@
 #ifndef fooutilhfoo
 #define fooutilhfoo
 
+/***
+  This file is part of systemd.
+
+  Copyright 2010 Lennart Poettering
+
+  systemd is free software; you can redistribute it and/or modify it
+  under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2 of the License, or
+  (at your option) any later version.
+
+  systemd is distributed in the hope that it will be useful, but
+  WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+  General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with systemd; If not, see <http://www.gnu.org/licenses/>.
+***/
+
 #include <inttypes.h>
 #include <time.h>
 #include <sys/time.h>
@@ -121,6 +140,9 @@ char *ascii_strlower(char *path);
 
 char *xescape(const char *s, const char *bad);
 
+char *bus_path_escape(const char *s);
+char *bus_path_unescape(const char *s);
+
 #define DEFINE_STRING_TABLE_LOOKUP(name,type)                           \
         const char *name##_to_string(type i) {                          \
                 if (i < 0 || i >= (type) ELEMENTSOF(name##_table))      \