76 lines
2.2 KiB
C
76 lines
2.2 KiB
C
/****************************************************************************
|
|
|
|
|
| (C) Copyright 2003-2004 Novell, Inc.
|
|
| All Rights Reserved.
|
|
|
|
|
| This program is free software; you can redistribute it and/or
|
|
| modify it under the terms of version 2 of the GNU General Public
|
|
| License as published by the Free Software Foundation.
|
|
|
|
|
| This program is distributed in the hope that it will be useful,
|
|
| but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| GNU General Public License for more details.
|
|
|
|
|
| You should have received a copy of the GNU General Public License
|
|
| along with this program; if not, contact Novell, Inc.
|
|
|
|
|
| To contact Novell about this file by physical or electronic mail,
|
|
| you may find current contact information at www.novell.com
|
|
|
|
|
|***************************************************************************
|
|
|
|
|
|
|
|
|
|
|
|---------------------------------------------------------------------------
|
|
|
|
|
| $Author: ying $
|
|
| $Date: 2005-04-01 05:35:42 +0530 (Fri, 01 Apr 2005) $
|
|
|
|
|
| $RCSfile$
|
|
| $Revision: 898 $
|
|
|
|
|
|---------------------------------------------------------------------------
|
|
| This module is used to:
|
|
|
|
|
| Warning:
|
|
| This file is included by userspace applications that do NOT
|
|
| incude internal NSS files. Do not add things like LONG, NSS_DEBUG
|
|
| etc to this file. The userspace applications do define zLINUX and
|
|
| zNETWARE properly.
|
|
+-------------------------------------------------------------------------*/
|
|
#ifndef _NSSERRORTABLE_H_
|
|
#define _NSSERRORTABLE_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct ErrorTable_s
|
|
{
|
|
unsigned int number; /* The error number */
|
|
char *define; /* The utf-8 value for the define name */
|
|
} ErrorTable_s;
|
|
|
|
typedef struct ErrorTableSigned_s
|
|
{
|
|
int snumber; /* The signed error number */
|
|
char *define; /* The utf-8 value for the define name */
|
|
} ErrorTableSigned_s;
|
|
|
|
// The NSS error table
|
|
extern ErrorTable_s ErrorTable[];
|
|
// The eDIR error table
|
|
extern ErrorTableSigned_s NDS_ErrorTable[];
|
|
#if zNETWARE
|
|
// The Media Manager error table.
|
|
extern ErrorTable_s MM_ErrorTable[];
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif /* #ifndef _NSSERRORTABLE_H_ */
|