--- compat_heimdal.c.orig Mon Nov 6 10:21:49 2000 +++ compat_heimdal.c Mon Nov 6 10:48:37 2000 @@ -0,0 +1,21 @@ +#include +#include "krb5compat.h" + +const char * +compat_princ_component(krb5_context context, krb5_principal princ, int n) +{ + return princ->name.name_string.val[n]; +} + +void +compat_free_data_contents(krb5_context context, krb5_data *data) +{ + krb5_xfree(data); +} + +krb5_error_code +compat_cc_next_cred(krb5_context context, const krb5_ccache id, + krb5_cc_cursor *cursor, krb5_creds *creds) +{ + return krb5_cc_next_cred(context, id, creds, cursor); +}