From: Theodore Tso Date: Fri, 28 Mar 1997 04:43:21 +0000 (+0000) Subject: Add the GSS_C_PROT_READY_FLAG and GSS_C_TRANS_FLAG X-Git-Tag: krb5-1.1-beta1~1168 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cdef3b1c905cf089c64474953e5fcf3d886d0385;p=krb5.git Add the GSS_C_PROT_READY_FLAG and GSS_C_TRANS_FLAG Add prototypes for the V2 functions gss_export_name(), gss_duplicate_name(), and gss_canonicalize_name(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10030 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog index 41c2d579c..943416e69 100644 --- a/src/lib/gssapi/generic/ChangeLog +++ b/src/lib/gssapi/generic/ChangeLog @@ -1,3 +1,9 @@ +Thu Mar 27 15:36:32 1997 Theodore Ts'o + + * gssapi.hin: Add the GSS_C_PROT_READY_FLAG and GSS_C_TRANS_FLAG + Add prototypes for the V2 functions gss_export_name(), + gss_duplicate_name(), and gss_canonicalize_name(). + Tue Mar 18 13:52:29 1997 Theodore Ts'o * gssapi.hin: Add 'extern "C"' for C++ compatibility; also check diff --git a/src/lib/gssapi/generic/gssapi.hin b/src/lib/gssapi/generic/gssapi.hin index 386cadd57..39e77b79d 100644 --- a/src/lib/gssapi/generic/gssapi.hin +++ b/src/lib/gssapi/generic/gssapi.hin @@ -158,6 +158,8 @@ typedef int gss_cred_usage_t; #define GSS_C_CONF_FLAG 16 #define GSS_C_INTEG_FLAG 32 #define GSS_C_ANON_FLAG 64 +#define GSS_C_PROT_READY_FLAG 128 +#define GSS_C_TRANS_FLAG 256 /* * Credential usage options @@ -657,6 +659,28 @@ PROTOTYPE( (OM_uint32 FAR *, /* minor_status */ int FAR * /* qop_state */ )); +/* New for V2 */ +KRB5_DLLIMP OM_uint32 KRB5_CALLCONV gss_export_name +PROTOTYPE( (OM_uint32 *, /* minor_status */ + const gss_name_t, /* input_name */ + gss_buffer_t /* exported_name */ + )); + +/* New for V2 */ +KRB5_DLLIMP OM_uint32 KRB5_CALLCONV gss_duplicate_name +PROTOTYPE( (OM_uint32 *, /* minor_status */ + const gss_name_t, /* input_name */ + gss_name_t * /* dest_name */ + )); + +/* New for V2 */ +KRB5_DLLIMP OM_uint32 KRB5_CALLCONV gss_canonicalize_name +PROTOTYPE( (OM_uint32 *, /* minor_status */ + const gss_name_t, /* input_name */ + const gss_OID, /* mech_type */ + gss_name_t * /* output_name */ + )); + #ifdef __cplusplus } #endif