diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-08-20 18:51:42 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-08-24 16:47:08 +0200 |
commit | fe8f6f69ec8377aa37cf503f6877ce994e1ff821 (patch) | |
tree | a8d33f9588374b3bc672a72e34818676706a10d6 /src/basic/pager.h | |
parent | 347760af00d87762b3809111d8975023912ed7cc (diff) |
Prep v239: Mirror upstream and move pager.[hc] from shared to basic.
Diffstat (limited to 'src/basic/pager.h')
-rw-r--r-- | src/basic/pager.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/basic/pager.h b/src/basic/pager.h new file mode 100644 index 000000000..edeae3a11 --- /dev/null +++ b/src/basic/pager.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once + +#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 |