#ifdef __cplusplus
extern "C" {
#endif
#ifndef H_SCCSID
#include <sccs.h>
#endif /* ! H_SCCSID */
H_SCCSID(@(#)cfg02.h	1.4	LCC)	/* Modified: 22:49:36 9/16/89 */

/* @(#)cfg02.h	7.1 - 87/06/15 - 23:47:17 */
/* @(#)cfg02.h	7.1 87/06/15 23:47:17 */

/*  (c) Copyright IBM Corp. 1985, 1989, 1989  */
/*  Licensed Material - Program Property of IBM  */

/* CFG02.h */



/* useflag values */
#define PARTOTHR 0      /* partition not for AIX or coprocessor        */
#define PARTUNIX 1	/* partition will be a AIX filesystem 		*/
#define PARTCOPR 2      /* partition will be assigned to coprocessor    */


/* locflag values */
#define PARTLOCH 3      /* partition goes at high end of hardfile       */
#define PARTLOCM 2      /* partition goes near the center of hardfile   */
#define PARTLOCL 1      /* partition goes near beginning of hardfile    */
#define PARTLOCX 0      /* partition goes in next available place       */



/* RETURN CODES */

/* successful */
#define CFG_GOOD 0

/* fatal error return codes - processing was stopped                      */
#define CFG_USZF -4080  /* the format of a stanza is not correct          */
#define CFG_VRMF -4081  /* vrmconfig could not define the partition       */
#define CFG_MAXP -4082  /* maximum number of partitions already defined   */
#define CFG_CREF -4083  /* attempt to create the partition failed at vmi  */
#define CFG_DELF -4084  /* attempt to delete the partition failed at vmi  */
#define CFG_APIE -4085  /* invalid parameter passed                       */
#define CFG_DVEX -4086  /* a stanza exists with requested minidisk name   */
#define CFG_MKFF -4089  /* filesystem could not be made on AIX minidisk  */
#define CFG_DBZY -4090  /* device is busy  */
#define CFG_SYNX -4092  /* mdrc syntax error */

/*      Global filename variable for error message inserts   */
extern  char errfn[100];


#define MAXMDS       64         /* maximum number of minidisks */
#define DISKMAX      47         /* max number of minidisks per hard disk */

#define HMIN      7             /* lower bound of hdN name */
#define HMAX      MAXMDS-1      /* upper bound of hdN name */


/* range of valid iodn's */

#define BASEIODN  20000          /* base minidisk iodn */
#define MINIODN  BASEIODN+1          /* minimum minidisk iodn */
#define MAXIODN  MINIODN+(HMAX-HMIN)          /* maximum minidisk iodn */
#ifdef __cplusplus
}
#endif
