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