gssutil.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _GSSUTIL_H
#define _GSSUTIL_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef SOLARIS_2
#include <gssapi/gssapi_ext.h>
#else
#include <gssapi/gssapi_generic.h>
#endif
#ifndef SOLARIS_2
#endif
#ifndef g_OID_equal
#endif /* g_OID_equal */
#define GSS_AUTH_NONE 0x00
#define GSS_ADAT_DONE 0x01
#define GSS_USER_DONE 0x02
#define GSS_PWD_DONE 0x04
typedef struct gss_inforec {
char *display_name;
unsigned char data_prot;
unsigned char ctrl_prot;
unsigned char authstate;
unsigned char want_creds;
unsigned char have_creds;
unsigned char must_gss_auth;
} gss_info_t;
== (GSS_ADAT_DONE|GSS_USER_DONE))
unsigned int gss_setpbsz(char *pbszstr);
void ccc(void);
char *sec_decode_command(char *cmd);
size_t gss_getinbufsz(void);
void gss_adjust_buflen(void);
#ifdef __cplusplus
}
#endif
#endif /* _GSSUTIL_H */