chiark / gitweb /
polkit: don't start polkit agent when running as root
[elogind.git] / src / shared / pager.h
index dcd61957ef3eb5842a8daa9009b9b7c5236f3ed1..2746b1153228587843d877d3d6ec7b4598e70ab4 100644 (file)
@@ -1,5 +1,3 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
 #pragma once
 
 /***
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-void pager_open(void);
+#include <stdbool.h>
+
+#include "macro.h"
+
+int pager_open(bool no_pager, bool jump_to_end);
 void pager_close(void);
+bool pager_have(void) _pure_;
+
+#if 0 /// UNNEEDED by elogind
+int show_man_page(const char *page, bool null_stdio);
+#endif // 0