#ifdef __cplusplus
extern "C" {
#endif
#ifndef H_SCCSID
#include <sccs.h>
#endif /* ! H_SCCSID */
H_SCCSID(@(#)cfg01.h	1.8	AIX PS/2)	/* Modified: 9/16/89	22:48:48*/

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

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




/* RETURN CODES                                                           */

/* successful */

#define CFG_SFUL 0        /* processing was successful                    */


/* error return codes                                                     */

#define CFG_BEMP -4050    /* input buffers are empty                      */
#define CFG_BFIC -4057    /* an input buffer is incomplete                */
#define CFG_BFNA -4058    /* an input buffer could not be added to the    */
			  /*     master or system file                    */
#define CFG_BFSM -4059    /* an input buffer is too small for updates to  */
			  /*     be made                                  */
#define CFG_CFLI -4066    /* cflag inconsistent with device stanza        */
#define CFG_CLSE -4032    /* error opening a file                         */
#define CFG_CPYF -4052    /* updating the copy/code keyword failed        */
#define CFG_DVND -4060    /* the device stanza could not be deleted from  */
			  /*     the system file                          */
#define CFG_DVNF -4065    /* the device stanza could not be found in      */
			  /*     the system file                          */
#define CFG_FCOR -4029    /* either the system or master file has been    */
			  /*     corrupted                                */
#define CFG_MALF -4028    /* memory allocation failed                     */
#define CFG_MAXM -4055    /* maximum number of minor numbers has been     */
			  /*     defined                                  */
#define CFG_MGRF -4064    /* updating the list of devices managed by a    */
			  /*     device manager failed                    */
#define CFG_MPRE -4063    /* the minor number's prefeix value is invalid  */
#define CFG_OPNE -4030    /* error opening a file                         */
#define CFG_SLPF -4090    /* special processing failed, the device was    */
			  /* added/deleted but some additional steps may  */
			  /* be required by the user befor it is usable   */
			  /* or deleted from all parts of the system      */
#define	CFG_REBOOT	-4200
			  /* Kernel rebuild and reboot needed.		  */
#define	CFG_RBSLPF	-4202
#define	CFG_RBSPFL	CFG_RBSLPF
			  /* Kernel rebuild and reboot needed and special */
			  /* processing failed.				  */
#define CFG_VCFG -4027    /* vrmconfig could not process a stanza         */
#define CFG_VLNG -4062    /* a keyword value could not be generated       */



/* constants */

			 /* flags passed to the special processing */
			 /* routines                               */
#define ADDPROC "a"      /* indicates the processing is for an add */
#define DELPROC "d"      /* indicates the processing is for a delete */
#define	ADDSPPROC "as"	 /* add special file processing only; customization
			    helpers not to be invoked thru osconfig*/
#define	DELSPPROC "ds"	 /* delete special file processing only; customization
			    helpers not to be invoked thru osconfig*/
#define	ADDSPECIAL 3	/* add special file processing only; customization
			    helpers not to be invoked thru osconfig*/
#define	DELETESPECIAL 4	 /* delete special file processing only; customization
			    helpers not to be invoked thru osconfig*/
#ifdef __cplusplus
}
#endif
