home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / fonts / server / os / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-13  |  1.8 KB  |  47 lines

  1. /* $XConsortium: config.h,v 1.2 91/05/13 16:50:35 gildea Exp $ */
  2. /*
  3.  * Copyright 1990, 1991 Network Computing Devices;
  4.  * Portions Copyright 1987 by Digital Equipment Corporation and the
  5.  * Massachusetts Institute of Technology
  6.  *
  7.  * Permission to use, copy, modify, and distribute this protoype software
  8.  * and its documentation to Members and Affiliates of the MIT X Consortium
  9.  * any purpose and without fee is hereby granted, provided
  10.  * that the above copyright notice appear in all copies and that both that
  11.  * copyright notice and this permission notice appear in supporting
  12.  * documentation, and that the names of Network Computing Devices, Digital or
  13.  * MIT not be used in advertising or publicity pertaining to distribution of
  14.  * the software without specific, written prior permission.
  15.  *
  16.  * NETWORK COMPUTING DEVICES, DIGITAL AND MIT DISCLAIM ALL WARRANTIES WITH
  17.  * REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  18.  * AND FITNESS, IN NO EVENT SHALL NETWORK COMPUTING DEVICES, DIGITAL OR MIT BE
  19.  * LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  20.  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  21.  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  22.  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  23.  *
  24.  * @(#)config.h    4.1    91/05/02
  25.  *
  26.  */
  27.  
  28. #ifndef _CONFIG_H_
  29. #define _CONFIG_H_
  30.  
  31. /* max size in bytes of config file */
  32. #define    CONFIG_MAX_FILESIZE    32767
  33.  
  34. /* error codes */
  35. /* these should be in the same order as the error strings in config.c */
  36. #define    CONFIG_ERR_MEMORY    1
  37. #define    CONFIG_ERR_OPEN        2
  38. #define    CONFIG_ERR_READ        3
  39. #define    CONFIG_ERR_VALUE    4
  40. #define    CONFIG_ERR_UNKNOWN    5
  41. #define    CONFIG_ERR_NOEQUALS    6
  42. #define    CONFIG_ERR_RANGE    7
  43. #define    CONFIG_ERR_SYNTAX    8
  44. #define    CONFIG_ERR_NOVALUE    9
  45. #define    CONFIG_ERR_EXTRAVALUE    10
  46. #endif                /* _CONFIG_H_ */
  47.