mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
Add an interface to the auto pager code that allows callers to overwrite the pager. Signed-off-by: Andi Kleen <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Kim Phillips <[email protected]> Cc: Namhyung Kim <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
13 lines
306 B
C
13 lines
306 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __SUBCMD_PAGER_H
|
|
#define __SUBCMD_PAGER_H
|
|
|
|
extern void pager_init(const char *pager_env);
|
|
|
|
extern void setup_pager(void);
|
|
extern int pager_in_use(void);
|
|
extern int pager_get_columns(void);
|
|
extern void force_pager(const char *);
|
|
|
|
#endif /* __SUBCMD_PAGER_H */
|