


   SPX Version 2.2                                      gss_display_status(3)



   Name
     gss_display_status - translate an SPX status code

   Syntax
     #include "gssapi_defs.h"

     OM_uint32 gss_display_status(minor_status,
                                  status_value,
                                  status_type,
                                  mech_type,
                                  message_context,
                                  status_string)

     OM_uint32       *minor_status;
     int             status_value;
     int             status_type;
     gss_OID         mech_type;
     int             *message_context;
     gss_buffer_t    *status_string;

   Arguments

     _m_i_n_o_r__s_t_a_t_u_s
            (OM_uint32, modify) If the routine doesn't return GSS_S_COMPLETE,
            then this status code can be used to display the mechanism
            specific error using the call _g_s_s__d_i_s_p_l_a_y__s_t_a_t_u_s

     _s_t_a_t_u_s__v_a_l_u_e
            (integer, read) Status value to be converted.

     _s_t_a_t_u_s__t_y_p_e
            (integer, read)  One of the following:

               _G_S_S__C__G_S_S__C_O_D_E
                       _s_t_a_t_u_s__v_a_l_u_e is a GSS status code.

               _G_S_S__C__M_E_C_H__C_O_D_E
                       _s_t_a_t_u_s__v_a_l_u_e is an SPX status code.

     _m_e_c_h__t_y_p_e
            (gss_OID, read) Underlying mechanism (used to interpret a minor
            status value). Supply _G_S_S__C__N_U_L_L__O_I_D to obtain SPX as the system
            default.

     _m_e_s_s_a_g_e__c_o_n_t_e_x_t
            (integer, read/modify) Should be initialized to zero by caller on
            first call.  If further messages are contained in the
            _s_t_a_t_u_s__v_a_l_u_e argument _m_e_s_s_a_g_e__c_o_n_t_e_x_t is nonzero on return, and
            this value should be passed back to subsequent calls to
            _g_s_s__d_i_s_p_l_a_y__s_t_a_t_u_s along with the same _s_t_a_t_u_s__v_a_l_u_e, _s_t_a_t_u_s__t_y_p_e
            and _m_e_c_h__t_y_p_e arguments.

     _s_t_a_t_u_s__s_t_r_i_n_g


   Digital Equipment Corporation                                            1






   gss_display_status(3)                                      SPX Version 2.2


            (gss_buffer_t, modify) The textual interpretation of the
            _s_t_a_t_u_s__v_a_l_u_e.

   Description
     Obtains a textual representation of an SPX status code, for display to
     the user.

   See Also
















































   2                                            Digital Equipment Corporation


99