summaryrefslogtreecommitdiffstats
path: root/include/pager.h
diff options
context:
space:
mode:
authorKarel Zak2016-08-26 12:07:25 +0200
committerKarel Zak2016-08-26 12:07:25 +0200
commite215d467ca828498109d178eb0e7cbe4a835cd99 (patch)
treeaed8bd796b076a8eace7af4170c326e00531f261 /include/pager.h
parentsu, runuser, setpriv: create links between man pages (diff)
downloadkernel-qcow2-util-linux-e215d467ca828498109d178eb0e7cbe4a835cd99.tar.gz
kernel-qcow2-util-linux-e215d467ca828498109d178eb0e7cbe4a835cd99.tar.xz
kernel-qcow2-util-linux-e215d467ca828498109d178eb0e7cbe4a835cd99.zip
lib/pager: cleanup and extend API
* clean up function names * add functions to temporary redirect to the pager and then restore original terminal output Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/pager.h')
-rw-r--r--include/pager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/pager.h b/include/pager.h
index 9ca42eb35..0a7140d70 100644
--- a/include/pager.h
+++ b/include/pager.h
@@ -1,6 +1,9 @@
#ifndef UTIL_LINUX_PAGER
#define UTIL_LINUX_PAGER
-void setup_pager(void);
+void pager_redirect(void);
+
+void pager_open(void);
+void pager_close(void);
#endif