krb5_kdc_rep *
KRB5_KDC__REP2krb5_kdc_rep(val, type, error)
-const register struct type_KRB5_KDC__REP *val;
+const register struct type_KRB5_TGS__REP *val;
krb5_msgtype *type;
register int *error;
{
krb5_kdc_rep *
KRB5_KDC__REP2krb5_tgs_rep(val, error)
-const register struct type_KRB5_KDC__REP *val;
+const register struct type_KRB5_TGS__REP *val;
register int *error;
{
krb5_msgtype type;
/* ISODE defines max(a,b) */
-struct type_KRB5_KDC__REP *
+struct type_KRB5_TGS__REP *
krb5_kdc_rep2KRB5_KDC__REP(DECLARG(const register krb5_kdc_rep *,val),
DECLARG(const krb5_msgtype, type),
DECLARG(register int *,error))
OLDDECLARG(const krb5_msgtype, type)
OLDDECLARG(register int *,error)
{
- register struct type_KRB5_KDC__REP *retval;
+ register struct type_KRB5_TGS__REP *retval;
- retval = (struct type_KRB5_KDC__REP *)xmalloc(sizeof(*retval));
+ retval = (struct type_KRB5_TGS__REP *)xmalloc(sizeof(*retval));
if (!retval) {
*error = ENOMEM;
return(0);
/* ISODE defines max(a,b) */
-struct type_KRB5_KDC__REP *
+struct type_KRB5_TGS__REP *
krb5_tgs_rep2KRB5_KDC__REP(val, error)
const register krb5_kdc_rep *val;
register int *error;
{
- return krb5_kdc_rep2KRB5_KDC__REP(val, KRB5_TGS_REP, error);
+ return (struct type_KRB5_TGS__REP *)
+ krb5_kdc_rep2KRB5_KDC__REP(val, KRB5_TGS_REP, error);
}