errstring.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright (c) 1998-2001, 2003 Sendmail, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*
* $Id: errstring.h,v 1.9 2003/12/10 03:19:06 gshapiro Exp $
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
** Error codes.
*/
#ifndef SM_ERRSTRING_H
# define SM_ERRSTRING_H
#include <errno.h>
#if NEEDINTERRNO
extern int errno;
#endif /* NEEDINTERRNO */
/*
** These are used in a few cases where we need some special
** error codes, but where the system doesn't provide something
** reasonable. They are printed in sm_errstring.
*/
#ifndef E_PSEUDOBASE
# define E_PSEUDOBASE 256
#endif /* ! E_PSEUDOBASE */
/* libsmdb */
#define SMDBE_OK 0
#endif /* SM_ERRSTRING_H */