1198934Sdelphij/* $FreeBSD$ */ 2198934Sdelphij/* 3198934Sdelphij * Copyright (c) 2000 by Matthew Jacob 4198934Sdelphij * All rights reserved. 5198934Sdelphij * 6198934Sdelphij * Redistribution and use in source and binary forms, with or without 7198934Sdelphij * modification, are permitted provided that the following conditions 8198934Sdelphij * are met: 9198934Sdelphij * 1. Redistributions of source code must retain the above copyright 10198934Sdelphij * notice, this list of conditions, and the following disclaimer, 11198934Sdelphij * without modification, immediately at the beginning of the file. 12198934Sdelphij * 2. The name of the author may not be used to endorse or promote products 13198934Sdelphij * derived from this software without specific prior written permission. 14198934Sdelphij * 15198934Sdelphij * Alternatively, this software may be distributed under the terms of the 16198934Sdelphij * the GNU Public License ("GPL"). 17198934Sdelphij * 18198934Sdelphij * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 19198934Sdelphij * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20198934Sdelphij * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21198934Sdelphij * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR 22198934Sdelphij * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23198934Sdelphij * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24198934Sdelphij * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25198934Sdelphij * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26198934Sdelphij * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27198934Sdelphij * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28198934Sdelphij * SUCH DAMAGE. 29198934Sdelphij * 30198934Sdelphij * Matthew Jacob 31198934Sdelphij * Feral Software 32198934Sdelphij * mjacob@feral.com 33198934Sdelphij */ 34198934Sdelphij 35293865Sallanjudechar *geteltnm(int); 36293865Sallanjudechar *scode2ascii(u_char); 37293865Sallanjudestruct sbuf *stat2sbuf(int, u_char *); 38