Lines Matching defs:minor_code
52 char *get_error_message(OM_uint32 minor_code)
58 fprintf(stderr, "%s(%lu, p=%p)", __func__, (unsigned long) minor_code,
62 char **v = gsserrmap_find(p, minor_code);
71 msg = (char *)error_message((krb5_error_code)minor_code);
79 static int save_error_string_nocopy(OM_uint32 minor_code, char *msg)
85 fprintf(stderr, "%s(%lu, %s)", __func__, (unsigned long) minor_code, msg);
108 ret = gsserrmap_replace_or_insert(p, minor_code, msg);
122 void save_error_string(OM_uint32 minor_code, char *msg)
126 if (save_error_string_nocopy(minor_code, s) != 0)
130 void save_error_message(OM_uint32 minor_code, const char *format, ...)
140 if (save_error_string_nocopy(minor_code, s) != 0)
144 void krb5_gss_save_error_info(OM_uint32 minor_code, krb5_context ctx)
150 (unsigned long) minor_code, (void *)ctx);
152 s = (char *)krb5_get_error_message(ctx, (krb5_error_code)minor_code);
155 (unsigned long) minor_code, (void *)ctx, s);
157 save_error_string(minor_code, s);
160 krb5_set_error_message(ctx, (krb5_error_code)minor_code, "%s", s);