X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=util.h;h=ba27b5aae01b55cddd4073b6ef112bd308db6ca0;hp=df2f3f79663b9396bee47313f19f3975b482d5e6;hb=4112df163517478207526e0d3e7278ab1acf1f9f;hpb=8b6c71206d32b11683e5e7cebc9acb467ba01b38 diff --git a/util.h b/util.h index df2f3f796..ba27b5aae 100644 --- a/util.h +++ b/util.h @@ -196,6 +196,10 @@ int fd_cloexec(int fd, bool cloexec); int close_all_fds(const int except[], unsigned n_except); +bool fstype_is_network(const char *fstype); + +int chvt(int vt); + extern char * __progname; const char *ioprio_class_to_string(int i);