extern.h (15250) | extern.h (15645) |
---|---|
1/* 2 * Copyright (c) 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 * from: @(#)extern.h 8.1 (Berkeley) 6/4/93 | 1/* 2 * Copyright (c) 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 * from: @(#)extern.h 8.1 (Berkeley) 6/4/93 |
34 * $Id: extern.h,v 1.2 1994/08/17 20:10:29 pk Exp $ | 34 * $Id: extern.h,v 1.1.1.4 1996/04/13 15:33:04 joerg Exp $ |
35 */ 36 37struct delayval; | 35 */ 36 37struct delayval; |
38struct termios; 39struct gettyflags; 40struct gettynums; 41struct gettystrs; |
|
38 | 42 |
43extern char hostname[]; 44extern int hopcount; 45extern struct termios tmode, omode; 46extern struct gettyflags gettyflags[]; 47extern struct gettynums gettynums[]; 48extern struct gettystrs gettystrs[]; 49 |
|
39int adelay __P((int, struct delayval *)); | 50int adelay __P((int, struct delayval *)); |
40char *autobaud __P((void)); | 51const char *autobaud __P((void)); |
41int delaybits __P((void)); | 52int delaybits __P((void)); |
42void edithost __P((char *)); | 53void edithost __P((const char *)); |
43void gendefaults __P((void)); | 54void gendefaults __P((void)); |
44int getent __P((char *, char *)); 45int getflag __P((char *)); 46long getnum __P((char *)); 47char *getstr __P((char *, char **)); 48void gettable __P((char *, char *)); | 55void gettable __P((const char *, char *)); |
49void makeenv __P((char *[])); | 56void makeenv __P((char *[])); |
50char *portselector __P((void)); | 57const char *portselector __P((void)); |
51void set_ttydefaults __P((int)); 52void setchars __P((void)); 53void setdefaults __P((void)); 54void setflags __P((int)); 55int speed __P((int)); | 58void set_ttydefaults __P((int)); 59void setchars __P((void)); 60void setdefaults __P((void)); 61void setflags __P((int)); 62int speed __P((int)); |
56 57int login_tty __P((int)); /* From libutil. */ | |