This is mifparse.h in view mode; [Download] [Up]
/*****************************************************************************/ /** Copyright 1989 by Evans & Sutherland Computer Division **/ /** Mountain View, CA **/ /** **/ /** All Rights Reserved **/ /** **/ /** Permission to use, copy, modify, and distribute this software and **/ /** its documentation for any purpose and without fee is hereby **/ /** granted, provided that the above copyright notice appear in all **/ /** copies and that both that copyright notice and this permis- **/ /** sion notice appear in supporting documentation, and that the **/ /** name of Evans & Sutherland not be used in advertising or publi- **/ /** city pertaining to distribution of the software without specif- **/ /** ic, written prior permission. **/ /** **/ /** EVANS & SUTHERLAND DISCLAIMS ALL WARRANTIES WITH REGARD TO **/ /** THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILI- **/ /** TY AND FITNESS, IN NO EVENT SHALL EVANS & SUTHERLAND BE LIABLE **/ /** FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAM- **/ /** AGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, **/ /** WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS **/ /** ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PER- **/ /** FORMANCE OF THIS SOFTWARE. **/ /*****************************************************************************/ /* Definitions for parsing MIF */ /* Types of MIF statments */ #define COMMENT 0 /* comment line -- ignore */ #define FUNC 1 /* MIF function w/o args. */ #define FUNCARGS 2 /* MIF functio w/ args. */ /* Structure returned by parse function */ /* for each line of input. */ typedef struct { int type; /* COMMENT|FUNC|FUNCARGS */ int func; /* ID of function */ char *args; /* Arguments if any */ } INLINE;
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.