12804a96aSXin LI /* 22804a96aSXin LI * Copyright (c) 2000 by Matthew Jacob 32804a96aSXin LI * All rights reserved. 42804a96aSXin LI * 52804a96aSXin LI * Redistribution and use in source and binary forms, with or without 62804a96aSXin LI * modification, are permitted provided that the following conditions 72804a96aSXin LI * are met: 82804a96aSXin LI * 1. Redistributions of source code must retain the above copyright 92804a96aSXin LI * notice, this list of conditions, and the following disclaimer, 102804a96aSXin LI * without modification, immediately at the beginning of the file. 112804a96aSXin LI * 2. The name of the author may not be used to endorse or promote products 122804a96aSXin LI * derived from this software without specific prior written permission. 132804a96aSXin LI * 142804a96aSXin LI * Alternatively, this software may be distributed under the terms of the 152804a96aSXin LI * the GNU Public License ("GPL"). 162804a96aSXin LI * 172804a96aSXin LI * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 182804a96aSXin LI * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 192804a96aSXin LI * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 202804a96aSXin LI * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR 212804a96aSXin LI * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 222804a96aSXin LI * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 232804a96aSXin LI * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 242804a96aSXin LI * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 252804a96aSXin LI * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 262804a96aSXin LI * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 272804a96aSXin LI * SUCH DAMAGE. 282804a96aSXin LI * 292804a96aSXin LI * Matthew Jacob 302804a96aSXin LI * Feral Software 312804a96aSXin LI * mjacob@feral.com 322804a96aSXin LI */ 332804a96aSXin LI 342804a96aSXin LI char * geteltnm(int); 352804a96aSXin LI char * stat2ascii(int, u_char *); 36