extern.h revision 21673
119370Spst/* 219370Spst * Copyright (c) 1993 398944Sobrien * The Regents of the University of California. All rights reserved. 498944Sobrien * 519370Spst * Redistribution and use in source and binary forms, with or without 698944Sobrien * modification, are permitted provided that the following conditions 719370Spst * are met: 898944Sobrien * 1. Redistributions of source code must retain the above copyright 998944Sobrien * notice, this list of conditions and the following disclaimer. 1098944Sobrien * 2. Redistributions in binary form must reproduce the above copyright 1198944Sobrien * notice, this list of conditions and the following disclaimer in the 1219370Spst * documentation and/or other materials provided with the distribution. 1398944Sobrien * 3. All advertising materials mentioning features or use of this software 1498944Sobrien * must display the following acknowledgement: 1598944Sobrien * This product includes software developed by the University of 1698944Sobrien * California, Berkeley and its contributors. 1719370Spst * 4. Neither the name of the University nor the names of its contributors 1898944Sobrien * may be used to endorse or promote products derived from this software 1998944Sobrien * without specific prior written permission. 2098944Sobrien * 2198944Sobrien * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2219370Spst * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2319370Spst * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2498944Sobrien * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2598944Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2619370Spst * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2798944Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2898944Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2998944Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3098944Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3198944Sobrien * SUCH DAMAGE. 3219370Spst * 3398944Sobrien * from: @(#)extern.h 8.1 (Berkeley) 6/4/93 3498944Sobrien * $FreeBSD: head/libexec/getty/extern.h 21673 1997-01-14 07:20:47Z jkh $ 3598944Sobrien */ 3619370Spst 3719370Spststruct delayval; 3819370Spststruct termios; 3919370Spststruct gettyflags; 4019370Spststruct gettynums; 4119370Spststruct gettystrs; 4298944Sobrien 4319370Spstextern char hostname[]; 4419370Spstextern int hopcount; 4519370Spstextern struct termios tmode, omode; 4619370Spstextern struct gettyflags gettyflags[]; 4719370Spstextern struct gettynums gettynums[]; 4819370Spstextern struct gettystrs gettystrs[]; 4919370Spst 5019370Spstint adelay __P((int, struct delayval *)); 5198944Sobrienconst char *autobaud __P((void)); 5298944Sobrienint delaybits __P((void)); 5319370Spstvoid edithost __P((const char *)); 5498944Sobrienvoid gendefaults __P((void)); 5519370Spstvoid gettable __P((const char *, char *)); 5646283Sdfrvoid makeenv __P((char *[])); 5798944Sobrienconst char *portselector __P((void)); 5846283Sdfrvoid set_ttydefaults __P((int)); 5998944Sobrienvoid setchars __P((void)); 6098944Sobrienvoid setdefaults __P((void)); 6198944Sobrienvoid setflags __P((int)); 6298944Sobrienint speed __P((int)); 6398944Sobrien