a89e30ecb4
pager.[ch] doesn't use any APIs from src/libsystemd/ or src/shared/ hence there's no reason for it to be in src/shared/, let's move it to src/basic/ instead. This enables us to use pager.[ch] APIs from other code in src/basic/, for example pager_have() and suchlike.
19 lines
335 B
C
19 lines
335 B
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
#pragma once
|
|
|
|
/***
|
|
This file is part of systemd.
|
|
|
|
Copyright 2010 Lennart Poettering
|
|
***/
|
|
|
|
#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_;
|
|
|
|
int show_man_page(const char *page, bool null_stdio);
|