ftp.nice.ch/pub/next/unix/developer/oobr.2.8.6.tar.gz#/oobr/tree-x/input.h

This is input.h in view mode; [Download] [Up]

/* ----------------------------------------------------------------------------
 * File    : input.h
 * Author  : Mark Stern (mks@cs.brown.edu) 
 * Date    : Sun Jun 10 1990
 * Class   : CS257 - Computational Geometry
 * Purpose : header file for input.c
 * ----------------------------------------------------------------------------
 */

#define TOKEN_MAXSIZ          1023             /* maximum size of token      */
#define INPUT_BUFSIZ          TOKEN_MAXSIZ + 1 /* allow for terminating null */
/*
 *  #define DELIMITER_BEGIN_LIST '{'
 *  #define DELIMITER_END_LIST   '}'
 */ 

/* Possible token types in file */

enum { TOKEN_LABEL,
/*
 *     TOKEN_BEGIN_LIST,
 *     TOKEN_END_LIST,
 */
       TOKEN_EOF };


typedef enum { 
   ERR_OPENFAIL,
   ERR_EMPTYFILE,
   ERR_MEMALLOC,
   ERR_NOBEGIN,
   ERR_NOEND,
   ERR_NOROOT,
   ERR_MANYROOT,
   ERR_NONE,
} ErrCode;

#define NUM_ERRS             7	/* don't count ERR_NONE */


These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.