1 /* 2 * Copyright conserver.com, 2000 3 * 4 * Maintainer/Enhancer: Bryan Stansell (bryan@conserver.com) 5 * 6 * Copyright GNAC, Inc., 1998 7 */ 8 9 /* 10 * Copyright 1992 Purdue Research Foundation, West Lafayette, Indiana 11 * 47907. All rights reserved. 12 * 13 * Written by Kevin S Braunsdorf, ksb@cc.purdue.edu, purdue!ksb 14 * 15 * This software is not subject to any license of the American Telephone 16 * and Telegraph Company or the Regents of the University of California. 17 * 18 * Permission is granted to anyone to use this software for any purpose on 19 * any computer system, and to alter it and redistribute it freely, subject 20 * to the following restrictions: 21 * 22 * 1. Neither the authors nor Purdue University are responsible for any 23 * consequences of the use of this software. 24 * 25 * 2. The origin of this software must not be misrepresented, either by 26 * explicit claim or by omission. Credit to the authors and Purdue 27 * University must appear in documentation and sources. 28 * 29 * 3. Altered versions must be plainly marked as such, and must not be 30 * misrepresented as being the original software. 31 * 32 * 4. This notice may not be removed or altered. 33 */ 34 /* 35 * keep track of network access and peer console servers (ksb) 36 */ 37 38 typedef struct access { 39 char ctrust; /* how much do we trust the host */ 40 char *pcwho; /* what is the hosts name/ip number */ 41 int isCIDR; /* is this a CIDR addr (or hostname?) */ 42 struct access *pACnext; /* next access list */ 43 } ACCESS; 44 45 extern char AccType(INADDR_STYPE *, char **); 46 extern void SetDefAccess( 47 #if USE_IPV6 48 void 49 #else 50 struct in_addr *, char * 51 #endif 52 ); 53 extern void DestroyAccessList(ACCESS *); 54