DOKK / manpages / debian 12 / libglobus-gss-assist-doc / globus_gss_assist_display.3.en
globus_gss_assist_display(3) globus_gss_assist globus_gss_assist_display(3)

globus_gss_assist_display - GSSAPI Result Status Strings


- Display Error Status from a GSSAPI Result.


OM_uint32 globus_gss_assist_display_status (FILE *fp, char *comment, OM_uint32 major_status, OM_uint32 minor_status, int token_status)
OM_uint32 globus_gss_assist_display_status_str (char **str, char *comment, OM_uint32 major_status, OM_uint32 minor_status, int token_status)

Display Error Status from a GSSAPI Result.

The functions in this section convert a GSSAPI result code into a message.

Display the messages for the major and minor status on the file pointed at by fp. Takes care of the overloaded major_status if there was a problem with the get_token or send_token routines.

Parameters

fp a file pointer
comment String to print out before other error messages.
major_status The major status to display
minor_status The minor status to display
token_status token status to display

Returns

0

Display the messages for the major and minor status and return a string with the messages. Takes care of the overloaded major_status if there was a problem with the get_token or send_token routines.

Parameters

str pointer to char * for returned string. Must be freed
comment String to print out before other error messages.
major_status The major status to display
minor_status The minor status to display
token_status token status to display

Returns

0

Generated automatically by Doxygen for globus_gss_assist from the source code.

Tue Jul 5 2022 Version 12.7