#ifdef __cplusplus
extern "C" {
#endif
#ifndef H_SCCSID
#include <sccs.h>
#endif /* ! H_SCCSID */
H_SCCSID(@(#)drs.h	1.9	AIX)	/* Modified 9/17/89 00:18:03 */
/*@(#)drs.h	7.1-87/06/16-00:15:42*/
/* 
 * (C) Copyright IBM Corp. 1989 
 * All Rights Reserved 
 * Licensed Materials - Property of IBM 
 */

/* Directory Services Return Codes */
#define DRS_ACCES       -EACCES         /* PERMISSIONS DENIED */
#define DRS_AGAIN       -EAGAIN         /* UNABLE TO START DMSMAIN */
#define DRS_BADF        -EBADF          /* BAD FILE DESCRIPTOR */
#define DRS_BADK        -4217           /* BAD INDEX KEY */
#define DRS_BADLEN      -1201           /* BAD PARAMETER */
#define DRS_BDMSF       -4200           /* BAD FILE OR TABLE */
#define DRS_BKEY        -1216           /* OUT OF RANGE KEY */
#define DRS_BOF         -4202           /* BEGINNING-OF-FILE ENCOUNTERED */
#define DRS_DEADLK      -EDEADLK        /* DEADLOCK DETECTED */
#define DRS_EOF         -4201           /* END-OF-FILE ENCOUNTERED */
#define DRS_FAULT       -EFAULT         /* BAD ADDRESS */
#define DRS_FBIG        -EFBIG          /* FILE SIZE EXCEEDED */
#define DRS_IDRM        -EIDRM          /* IDENTIFIER REMOVED */
#define DRS_INBLCK      -1219           /* IN PFS BIG LOCK */
#define DRS_INTENT      -4203           /* INTENTIONS DENIED */
#define DRS_IO          -EIO            /* INPUT/OUTPUT ERROR */
#define DRS_ISDIR       -EISDIR         /* WRITE ATTEMPTED TO DIRECTORY */
#define DRS_LOCKPM      -1206           /* LOCK PERMISSION DENIED */
#define DRS_MFILE       -EMFILE         /* TOO MANY FILES, TABLES, OR
					   INDEXES OPEN */
#define DRS_NFILE       -ENFILE         /* FILE TABLE OVERFLOW */
#define DRS_NOENT       -ENOENT         /* NO FILE OR DIRECTORY */
#define DRS_NOKEY       -1211           /* NO AVAILABLE KEYS */
#define DRS_NOMEM       -ENOMEM         /* NO MEMORY */
#define DRS_NOREC       -4206           /* NO RECORD */
#define DRS_NOSPC       -ENOSPC         /* NO SPACE ON DEVICE */
#define DRS_NOTDIR      -ENOTDIR        /* NOT A DIRECTORY */
#define DRS_NOTIDX      -4207           /* NOT AN INDEX */
#define DRS_PANIC       -4299           /* DMS ABNORMAL TERMINATION */
#define DRS_RCVRY       -4208           /* FILE NEEDS RECOVERY */
#define DRS_RECLEN      -4210           /* BAD RECORD LENGTH */
#define DRS_ROFS        -EROFS          /* READ-ONLY FILE SYSTEM */

#ifdef __cplusplus
}
#endif
