2017-11-18 17:09:20 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1+ */
|
2012-07-18 19:07:51 +02:00
|
|
|
#pragma once
|
2011-07-07 02:34:35 +02:00
|
|
|
|
|
|
|
/***
|
|
|
|
This file is part of systemd.
|
|
|
|
|
|
|
|
Copyright 2010 Lennart Poettering
|
|
|
|
|
|
|
|
systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 00:20:58 +02:00
|
|
|
under the terms of the GNU Lesser General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2.1 of the License, or
|
2011-07-07 02:34:35 +02:00
|
|
|
(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
|
2012-04-12 00:20:58 +02:00
|
|
|
Lesser General Public License for more details.
|
2011-07-07 02:34:35 +02:00
|
|
|
|
2012-04-12 00:20:58 +02:00
|
|
|
You should have received a copy of the GNU Lesser General Public License
|
2011-07-07 02:34:35 +02:00
|
|
|
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
***/
|
|
|
|
|
2012-07-20 09:06:26 +02:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
2013-05-03 04:51:50 +02:00
|
|
|
#include "macro.h"
|
|
|
|
|
2016-02-19 19:25:13 +01:00
|
|
|
int pager_open(bool no_pager, bool jump_to_end);
|
2011-07-07 02:34:35 +02:00
|
|
|
void pager_close(void);
|
2013-05-03 04:51:50 +02:00
|
|
|
bool pager_have(void) _pure_;
|
2014-07-21 00:23:53 +02:00
|
|
|
|
|
|
|
int show_man_page(const char *page, bool null_stdio);
|