extern.h revision 56725
138032Speter/* 2111823Sgshapiro * Copyright (c) 1993 364562Sgshapiro * The Regents of the University of California. All rights reserved. 438032Speter * 538032Speter * Redistribution and use in source and binary forms, with or without 638032Speter * modification, are permitted provided that the following conditions 738032Speter * are met: 838032Speter * 1. Redistributions of source code must retain the above copyright 938032Speter * notice, this list of conditions and the following disclaimer. 1038032Speter * 2. Redistributions in binary form must reproduce the above copyright 1138032Speter * notice, this list of conditions and the following disclaimer in the 1238032Speter * documentation and/or other materials provided with the distribution. 1338032Speter * 3. All advertising materials mentioning features or use of this software 1464562Sgshapiro * must display the following acknowledgement: 1564562Sgshapiro * This product includes software developed by the University of 16125820Sgshapiro * California, Berkeley and its contributors. 1738032Speter * 4. Neither the name of the University nor the names of its contributors 1890792Sgshapiro * may be used to endorse or promote products derived from this software 1938032Speter * without specific prior written permission. 2090792Sgshapiro * 2190792Sgshapiro * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2290792Sgshapiro * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23120256Sgshapiro * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2490792Sgshapiro * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 25125820Sgshapiro * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26125820Sgshapiro * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27125820Sgshapiro * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28125820Sgshapiro * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29125820Sgshapiro * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30125820Sgshapiro * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31120256Sgshapiro * SUCH DAMAGE. 32125820Sgshapiro * 33125820Sgshapiro * from: @(#)extern.h 8.1 (Berkeley) 6/4/93 34125820Sgshapiro * $FreeBSD: head/libexec/getty/extern.h 56725 2000-01-28 07:12:03Z bde $ 35125820Sgshapiro */ 3690792Sgshapiro 3790792Sgshapirostruct delayval; 38120256Sgshapirostruct termios; 39120256Sgshapirostruct gettyflags; 40120256Sgshapirostruct gettynums; 41120256Sgshapirostruct gettystrs; 4290792Sgshapiro 4390792Sgshapiroextern char hostname[]; 4490792Sgshapiroextern int hopcount; 4590792Sgshapiroextern struct termios tmode, omode; 4664562Sgshapiroextern struct gettyflags gettyflags[]; 47112810Sgshapiroextern struct gettynums gettynums[]; 4890792Sgshapiroextern struct gettystrs gettystrs[]; 4990792Sgshapiro 5090792Sgshapiroint adelay __P((int, struct delayval *)); 51112810Sgshapiroconst char *autobaud __P((void)); 5290792Sgshapiroint delaybits __P((void)); 5390792Sgshapirovoid edithost __P((const char *)); 5490792Sgshapirovoid gendefaults __P((void)); 5590792Sgshapirovoid gettable __P((const char *, char *)); 5690792Sgshapirovoid makeenv __P((char *[])); 5764562Sgshapiroconst char *portselector __P((void)); 5890792Sgshapirovoid set_ttydefaults __P((int)); 5990792Sgshapirovoid setchars __P((void)); 6038032Spetervoid setdefaults __P((void)); 6138032Spetervoid set_flags __P((int)); 6238032Speterint speed __P((int)); 6338032Speterint getty_chat __P((char *, int, int)); 6438032Speter