Lines Matching refs:code
10 * 1. Redistributions of source code must retain the above copyright
59 * Set the context full error string for a specific error code.
65 * @param ret The error code
66 * @param fmt Error string for the error code
85 * Set the context full error string for a specific error code.
90 * @param ret The error code
91 * @param fmt Error string for the error code
121 * Prepend the context full error string for a specific error code.
127 * @param ret The error code
128 * @param fmt Error string for the error code
147 * Prepend the contexts's full error string for a specific error code.
152 * @param ret The error code
153 * @param fmt Error string for the error code
229 * Return the error message for `code' in context. On memory
233 * @param code Error code related to the error
242 krb5_get_error_message(krb5_context context, krb5_error_code code)
249 if (code == 0)
255 * with a NULL context in order to translate an error code as a
264 (code == context->error_code || context->error_code == 0))
280 cstr = com_right_r(context->et_list, code, buf, sizeof(buf));
288 cstr = error_message(code);
292 if (asprintf(&str, "<unknown error: %d>", (int)code) == -1 || str == NULL)
317 * Return the error string for the error code. The caller must not
323 * @param code Kerberos error code.
325 * @return the error message matching code
331 krb5_get_err_text(krb5_context context, krb5_error_code code)
336 p = com_right(context->et_list, code);
338 p = strerror(code);