chiark / gitweb /
build-sys: support setting path and service names from configure
[elogind.git] / util.h
diff --git a/util.h b/util.h
index b9eb3602c85f0e084ea2d439b7de2258c9c524c5..a77a952ed6d053436421b14b644f8f9a450604c7 100644 (file)
--- a/util.h
+++ b/util.h
@@ -179,6 +179,10 @@ bool chars_intersect(const char *a, const char *b);
 
 char *format_timestamp(char *buf, size_t l, usec_t t);
 
+int make_stdio(int fd);
+
+bool is_clean_exit(int code, int status);
+
 #define DEFINE_STRING_TABLE_LOOKUP(name,type)                           \
         const char *name##_to_string(type i) {                          \
                 if (i < 0 || i >= (type) ELEMENTSOF(name##_table))      \
@@ -227,6 +231,8 @@ ssize_t loop_read(int fd, void *buf, size_t nbytes);
 
 int path_is_mount_point(const char *path);
 
+bool is_device_path(const char *path);
+
 extern char * __progname;
 
 const char *ioprio_class_to_string(int i);