summaryrefslogtreecommitdiff
path: root/tools/lib/subcmd/pager.h
blob: 623f5542d05dea5435f76153bcde8e11af3c7f16 (plain)
1
2
3
4
5
6
7
8
9
10
#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);

#endif /* __SUBCMD_PAGER_H */
5dd243909d62dba25a93254b20d5fe81 (patch) treef7a09e61ead8f9e0a1002dde7e53d0376b8b3c19 parent1e3b73a95793555860512008035f6822406a2a79 (diff)
tpm: Create a tpm_class_ops structure and use it in the drivers
This replaces the static initialization of a tpm_vendor_specific structure in the drivers with the standard Linux idiom of providing a const structure of function pointers. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Reviewed-by: Joel Schopp <jschopp@linux.vnet.ibm.com> Reviewed-by: Ashley Lai <adlai@linux.vnet.ibm.com> [phuewe: did apply manually due to commit 191ffc6bde3 tpm/tpm_i2c_atmel: fix coccinelle warnings] Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat