Grid Community Toolkit  6.2.1653033972 (tag: v6.2.20220524)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
GSSAPI Result Status Strings

Display Error Status from a GSSAPI Result. More...

Functions

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)
 

Detailed Description

Display Error Status from a GSSAPI Result.

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

Function Documentation

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

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
fpa file pointer
commentString to print out before other error messages.
major_statusThe major status to display
minor_statusThe minor status to display
token_statustoken status to display
Returns
0
OM_uint32 globus_gss_assist_display_status_str ( char **  str,
char *  comment,
OM_uint32  major_status,
OM_uint32  minor_status,
int  token_status 
)

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
strpointer to char * for returned string. Must be freed
commentString to print out before other error messages.
major_statusThe major status to display
minor_statusThe minor status to display
token_statustoken status to display
Returns
0