Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
00001 /* 00002 00003 Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. 00004 00005 This program is free software; you can redistribute it and/or modify it 00006 under the terms of version 2 of the GNU General Public License as 00007 published by the Free Software Foundation. 00008 00009 This program is distributed in the hope that it would be useful, but 00010 WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00012 00013 Further, this software is distributed without any warranty that it is 00014 free of the rightful claim of any third person regarding infringement 00015 or the like. Any license provided herein, whether implied or 00016 otherwise, applies only to this software file. Patent licenses, if 00017 any, provided herein do not apply to combinations of this program with 00018 other software, or any other product whatsoever. 00019 00020 You should have received a copy of the GNU General Public License along 00021 with this program; if not, write the Free Software Foundation, Inc., 59 00022 Temple Place - Suite 330, Boston MA 02111-1307, USA. 00023 00024 Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky, 00025 Mountain View, CA 94043, or: 00026 00027 http://www.sgi.com 00028 00029 For further information regarding this notice, see: 00030 00031 http://oss.sgi.com/projects/GenInfo/NoticeExplan 00032 00033 */ 00034 00035 00036 #ifndef erlink_INCLUDED 00037 #define erlink_INCLUDED 00038 #ifdef __cplusplus 00039 extern "C" { 00040 #endif 00041 00042 00043 00044 #ifdef _KEEP_RCS_ID 00045 #endif /* _KEEP_RCS_ID */ 00046 00047 #include "errors.h" /* Always needed */ 00048 00049 /* The error codes in each erxxx.h file should start from some multiple 00050 * of 1000, which is the phase number. 00051 */ 00052 #define EC_BASE_LINK EP_LINK*1000 00053 00054 /* File manipulation error codes: */ 00055 #define EC_R_Exists EC_BASE_LINK /* str */ 00056 #define EC_R_Open EC_BASE_LINK+1 /* str, err */ 00057 #define EC_R_Create EC_BASE_LINK+2 /* str, err */ 00058 #define EC_R_Delete EC_BASE_LINK+3 /* str, err */ 00059 #define EC_R_Close EC_BASE_LINK+4 /* str, err */ 00060 #define EC_No_R EC_BASE_LINK+5 /* str */ 00061 #define EC_U_Exists EC_BASE_LINK+6 /* str */ 00062 #define EC_U_Open EC_BASE_LINK+7 /* str, err */ 00063 #define EC_U_Create EC_BASE_LINK+8 /* str, err */ 00064 #define EC_U_Delete EC_BASE_LINK+9 /* str, err */ 00065 #define EC_U_Close EC_BASE_LINK+10 /* str, err */ 00066 #define EC_No_U EC_BASE_LINK+11 /* str */ 00067 #define EC_R_Magic EC_BASE_LINK+12 /* str, int */ 00068 #define EC_Link_Unresolved EC_BASE_LINK+13 /* str */ 00069 #define EC_Link_Dupname EC_BASE_LINK+14 /* str */ 00070 #define EC_Command_Open EC_BASE_LINK+15 /* str, err */ 00071 #define EC_Link_Insuf_Pages EC_BASE_LINK+16 /* nothing */ 00072 #define EC_Link_2Merge EC_BASE_LINK+17 /* nothing */ 00073 #define EC_U_Header EC_BASE_LINK+18 /* str */ 00074 #define EC_U_Magic EC_BASE_LINK+19 /* str */ 00075 #define EC_U_Strange EC_BASE_LINK+20 /* str */ 00076 00077 #ifdef __cplusplus 00078 } 00079 #endif 00080 #endif /* erlink_INCLUDED */