head 1.8; access; symbols; locks; strict; comment @ * @; 1.8 date 94.03.11.23.23.48; author paul; state Exp; branches; next 1.7; 1.7 date 92.07.24.17.07.17; author paul; state Exp; branches; next 1.6; 1.6 date 92.07.22.16.06.25; author paul; state Exp; branches; next 1.5; 1.5 date 89.03.20.15.14.16; author dorner; state Exp; branches; next 1.4; 1.4 date 88.12.02.14.41.09; author dorner; state Exp; branches; next 1.3; 1.3 date 88.11.15.13.30.48; author dorner; state Exp; branches; next 1.2; 1.2 date 88.04.19.08.12.27; author dorner; state Exp; branches; next 1.1; 1.1 date 87.12.12.11.28.29; author dorner; state Exp; branches; next ; desc @@ 1.8 log @New copyright notice. Added NOLOG_OP (requires a security infrastructure to be added later). @ text @/* * Copyright (c) 1985 Corporation for Research and Educational Networking * Copyright (c) 1988 University of Illinois Board of Trustees, Steven * Dorner, and Paul Pomes * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the Corporation for * Research and Educational Networking (CREN), the University of * Illinois at Urbana, and their contributors. * 4. Neither the name of CREN, the University nor the names of their * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE TRUSTEES AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE TRUSTEES OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @@(#)$Id$ */ #ifndef OPTIONS_H #define OPTIONS_H struct option { char *opName; char *opValue; }; typedef struct option OPTION; extern OPTION OptionList[]; /* set.c */ #define ECHO_OP 0 #define LIMIT_OP 1 #define VERBOSE_OP 2 #define ADDONLY_OP 3 #define NOLOG_OP 4 #define OP_VALUE(x) OptionList[x].opValue #endif @ 1.7 log @*** empty log message *** @ text @d2 35 a36 5 * This software is Copyright (C) 1988 by Steven Dorner and the * University of Illinois Board of Trustees. No warranties of any * kind are expressed or implied. No support will be provided. * This software may not be redistributed for commercial purposes. * You may direct questions to dorner@@garcon.cso.uiuc.edu d54 1 @ 1.6 log @Re-formatted for clarity. @ text @d16 1 a16 1 typedef struct option Option; d18 1 a18 1 extern Option OptionList[]; /* set.c */ d25 1 a25 1 #define OP_VALUE(option) OptionList[option].opValue @ 1.5 log @No help here. @ text @d1 7 a7 8 /***********************************************************************/ /********************************************************************* * This software is Copyright (C) 1988 by Steven Dorner and the * University of Illinois Board of Trustees. No warranties of any * kind are expressed or implied. No support will be provided. * This software may not be redistributed for commercial purposes. * You may direct questions to dorner@@garcon.cso.uiuc.edu **********************************************************************/ a10 1 typedef struct option Option; d13 2 a14 2 char *opName; char *opValue; d16 1 d18 1 a18 1 extern Option TheOptions[]; /* set.c */ d25 1 a25 1 #define OP_VALUE(option) TheOptions[option].opValue @ 1.4 log @No help here. @ text @d1 9 a9 6 /*********************************************************************** * This software is Copyright (C) 1988 by Steven Dorner and the University * of Illinois Board of Trustees. No warranties expressed or implied, no * support provided. Please do not redistribute it in its present form. * Contact me for details (dorner@@garcon.cso.uiuc.edu). ***********************************************************************/ @ 1.3 log @No help here. @ text @d7 2 a8 2 #ifndef OPTIONS_DOT_H #define OPTIONS_DOT_H d25 1 a25 1 #endif OPTIONS_DOT_H @ 1.2 log @*** empty log message *** @ text @d1 6 d21 1 @ 1.1 log @Initial revision @ text @d6 2 a7 2 char *opName; char *opValue; d11 1 @