Remove a wasted check of XMLHttpResponse state
[gssweb.git] / gssapi_utils / gssapi_utils.h
1 #include <gssapi.h>
2
3 /**********************************************************************
4  **********************************************************************
5  ** Data Structures and Typedefs                                     **
6  **********************************************************************
7  **********************************************************************/
8 typedef struct gss_status_struct {
9     OM_uint32 major;
10     OM_uint32 minor;
11 } *gss_status_t;
12
13
14
15
16 /**********************************************************************
17  **********************************************************************
18  ** Functions                                                        **
19  **********************************************************************
20  **********************************************************************/
21
22 /**********************************************************************
23  * Function:  str_to_oid
24  * Returns:   0 on success, 1 on error.
25  * Arguments: 
26  *    status: (OUT) A gss_status_t 
27  *    str:    (IN)  The string to convert to an OID
28  *    oid:    (OUT) The resultant gss_OID 
29  **********************************************************************/
30 OM_uint32
31 gss_construct_sec_context(
32     gss_status_t,            /* status                                        */
33     gss_cred_id_t,           /* cred_handle - reserved for future use         */
34     gss_ctx_id_t *,          /* context_handle                                */
35     gss_name_t,              /* target_name                                   */ 
36     gss_OID,                 /* mech_type                                     */
37     OM_uint32,               /* req_flags                                     */
38     OM_uint32,               /* time_req                                      */
39     gss_channel_bindings_t   /* input_chan_bindings - reserved for future use */
40 );