1
/* vlock.h -- main header file for vlock, the VT locking program for linux
3
* This program is copyright (C) 1994 Michael K. Johnson, and is free
4
* software which is freely distributable under the terms of the
5
* GNU public license, included as the file COPYING in this
6
* distribution. It is NOT public domain software, and any
7
* redistribution not permitted by the GNU General Public License is
8
* expressly forbidden without prior written permission from
18
void release_vt(int signo);
19
void acquire_vt(int signo);
20
void set_signal_mask(int save);
21
void mask_signals(void);
22
void restore_signals(void);
23
void set_terminal(int print);
24
void restore_terminal(void);
25
void get_password(void);
26
void init_passwords(void);
27
void print_help(int exitcode);
30
/* Global variables: */
33
/* This determines whether the default behavior is to lock only the */
34
/* current VT or all of them. 0 means current, 1 means all. */
35
extern int o_lock_all;
38
/* Copy of the VT mode when the program was started */
39
extern struct vt_mode ovtm;
40
extern struct termios oterm;