|
|
HP-UX Reference > Ggss_display_status(3)HP-UX 11i Version 2: December 2007 Update |
|
NAMEgss_display_status() — provide an application with the textual representation of a GSSAPI status code that can be displayed to a user or used for logging SYNOPSIS#include <gssapi.h> OM_uint32 gss_display_status ( OM_uint32 *minor_status, int status_value, int status_type, const gss_OID mech_type, int *message_context, gss_buffer_t status_string) DESCRIPTIONThe gss_display_status() routine provides the context initiator with a textual representation of a status code so that the application can display the message to a user or log the message. Because some status values can indicate more than one error, the routine enables the calling application to process status codes with multiple messages. The message_context parameter indicates which error message the application should extract from the status_value parameter. The first time an application calls the routine, it should initialize the message_context parameter to 0 (zero) and return the first message. If there are additional messages to read, the gss_display_status() routine returns a nonzero value. The application can call gss_display_status() repeatedly to generate a single text string for each call. Input Parameters
Input/Output
STATUS CODESThe following status codes can be returned:
|
|