Lines Matching defs:minor_code
60 char *get_error_message(OM_uint32 minor_code)
66 fprintf(stderr, "%s(%lu, p=%p)", __func__, (unsigned long) minor_code,
70 char **v = gsserrmap_find(p, minor_code);
79 msg = (char *)error_message(minor_code);
87 static int save_error_string_nocopy(OM_uint32 minor_code, char *msg)
93 fprintf(stderr, "%s(%lu, %s)", __func__, (unsigned long) minor_code, msg);
116 ret = gsserrmap_replace_or_insert(p, minor_code, msg);
130 void save_error_string(OM_uint32 minor_code, char *msg)
134 if (save_error_string_nocopy(minor_code, s) != 0)
138 void save_error_message(OM_uint32 minor_code, const char *format, ...)
148 if (save_error_string_nocopy(minor_code, s) != 0)
152 void spnego_gss_save_error_info(OM_uint32 minor_code, spnego_gss_ctx_id_t ctx)
158 (unsigned long) minor_code, (void *)ctx);
160 s = (char *)spnego_get_error_message(ctx, minor_code);
163 (unsigned long) minor_code, (void *)ctx, s);
165 save_error_string(minor_code, s);
168 spnego_set_error_message(ctx, minor_code, "%s", s);