From c8c052212a78e427e617f08ade1f2c4bfe6504f0 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 7 Feb 1990 16:43:53 +0000 Subject: [PATCH] add encode_krb5_tgs_req_enc_part, decode_krb5_tgs_req_enc_part git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@303 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/asn.1/encode.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/include/krb5/asn.1/encode.h b/src/include/krb5/asn.1/encode.h index 6154da458..867c62103 100644 --- a/src/include/krb5/asn.1/encode.h +++ b/src/include/krb5/asn.1/encode.h @@ -112,6 +112,16 @@ krb5_error_code decode_generic (translator_func) KRB5_KDC__REP2krb5_tgs_rep, \ (free_func) free_KRB5_KDC__REP) +#define encode_krb5_tgs_req_enc_part(req, output) \ + encode_generic((krb5_pointer)req, output, \ + (encoder_func) encode_KRB5_KDC__REP, \ + (translator_func) krb5_tgs_req_enc_part2KRB5_EncTgsReqPart, \ + (free_func) free_KRB5_EncTgsReqPart) +#define decode_krb5_tgs_req_enc_part(req, output) \ + decode_generic((krb5_pointer)req, (krb5_pointer *) output, \ + (decoder_func) decode_KRB5_EncTgsReqPart, \ + (translator_func) KRB5_EncTgsReqPart2krb5_tgs_req_enc_part, \ + (free_func) free_KRB5_EncTgsReqPart) #define encode_krb5_ap_req(req, output) \ encode_generic((krb5_pointer)req, output, \ -- 2.26.2