nfs-ganesha 1.4
|
00001 /* 00002 * 00003 * 00004 * Copyright CEA/DAM/DIF (2008) 00005 * contributeur : Philippe DENIEL philippe.deniel@cea.fr 00006 * Thomas LEIBOVICI thomas.leibovici@cea.fr 00007 * 00008 * 00009 * This program is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU Lesser General Public 00011 * License as published by the Free Software Foundation; either 00012 * version 3 of the License, or (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 * Lesser General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU Lesser General Public 00020 * License along with this library; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00022 * 00023 * --------------------------------------- 00024 * 00025 */ 00026 00027 #ifndef _ERR_RPC_H 00028 #define _ERR_RPC_H 00029 00030 #include "log.h" 00031 00032 static family_error_t __attribute__ ((__unused__)) tab_error_rpc[] = 00033 { 00034 #define ERR_SVCUDP_CREATE 0 00035 { 00036 ERR_SVCUDP_CREATE, "ERR_SVCUDP_CREATE", "svcudp_create impossible"}, 00037 #define ERR_SVCTCP_CREATE 1 00038 { 00039 ERR_SVCTCP_CREATE, "ERR_SVCTCP_CREATE", "svctcp_create impossible"}, 00040 #define ERR_SVC_CREATE 2 00041 { 00042 ERR_SVC_CREATE, "ERR_SVC_CREATE", "svc_create impossible"}, 00043 #define ERR_SVC_REGISTER 3 00044 { 00045 ERR_SVC_REGISTER, "ERR_SVC_REGISTER", "svc_register impossible"}, 00046 #define ERR_CLNTUDP_CREATE 4 00047 { 00048 ERR_CLNTUDP_CREATE, "ERR_CLNTUDP_CREATE", "clntudp_create impossible"}, 00049 #define ERR_CLNTTCP_CREATE 5 00050 { 00051 ERR_CLNTTCP_CREATE, "ERR_CLNTTCP_CREATE", "clnttcp_create impossible"}, 00052 #define ERR_GETRPCBYNAME 6 00053 { 00054 ERR_GETRPCBYNAME, "ERR_GETRPCBYNAME", "getrpcbyname impossible"}, 00055 #define ERR_IOCTL_I_POP 7 00056 { 00057 ERR_IOCTL_I_POP, "ERR_IOCTL_I_POP", "ioctl I_POP impossible"}, 00058 #define ERR_IOCTL_I_PUSH 8 00059 { 00060 ERR_IOCTL_I_PUSH, "ERR_IOCTL_I_PUSH", "ioctl I_PUSH impossible"}, 00061 #define ERR_SVC_GETCALLER 9 00062 { 00063 ERR_SVC_GETCALLER, "ERR_SVC_GETCALLER", "svc_getcaller impossible"}, 00064 { 00065 ERR_NULL, "ERR_NULL", ""} 00066 }; 00067 00068 #endif