1 /* 2 * Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved. 3 * Use is subject to license terms. 4 */ 5 6 #pragma ident "%Z%%M% %I% %E% SMI" 7 8 #include <locale.h> 9 const char * kdc5_error_table(long errorno)10kdc5_error_table(long errorno) { 11 12 switch (errorno) { 13 case 0: 14 return( 15 "$Id: kdc5_err.etv 5.4 1995/11/03 21:52:00 eichin Exp $"); 16 case 1: 17 return(dgettext(TEXT_DOMAIN, 18 "No server port found")); 19 case 2: 20 return(dgettext(TEXT_DOMAIN, 21 "Network not initialized")); 22 case 3: 23 return(dgettext(TEXT_DOMAIN, 24 "Short write while sending response")); 25 default: 26 return("unknown error"); 27 } 28 } 29