extern.h (68617) | extern.h (87701) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)extern.h 8.1 (Berkeley) 6/9/93 | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)extern.h 8.1 (Berkeley) 6/9/93 |
34 * $FreeBSD: head/usr.bin/tset/extern.h 68617 2000-11-11 23:03:38Z dg $ | 34 * $FreeBSD: head/usr.bin/tset/extern.h 87701 2001-12-11 23:29:45Z markm $ |
35 */ 36 37#include <termcap.h> 38 39extern struct termios mode, oldmode; 40extern int Columns, isreset, Lines; 41extern int erasech, intrchar, killch; 42 | 35 */ 36 37#include <termcap.h> 38 39extern struct termios mode, oldmode; 40extern int Columns, isreset, Lines; 41extern int erasech, intrchar, killch; 42 |
43void add_mapping __P((char *, char *)); | 43void add_mapping __P((const char *, char *)); |
44void cat __P((char *)); | 44void cat __P((char *)); |
45char *get_termcap_entry __P((char *, char **)); 46char *mapped __P((char *)); | 45const char *get_termcap_entry __P((char *, char **)); 46const char *mapped __P((const char *)); |
47int outc __P((int)); 48void reset_mode __P((void)); 49void set_control_chars __P((void)); 50void set_conversions __P((int)); 51void set_init __P((void)); 52void wrtermcap __P((char *)); | 47int outc __P((int)); 48void reset_mode __P((void)); 49void set_control_chars __P((void)); 50void set_conversions __P((int)); 51void set_init __P((void)); 52void wrtermcap __P((char *)); |