add encode_krb5_tgs_req_enc_part, decode_krb5_tgs_req_enc_part
authorJohn Kohl <jtkohl@mit.edu>
Wed, 7 Feb 1990 16:43:53 +0000 (16:43 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 7 Feb 1990 16:43:53 +0000 (16:43 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@303 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/asn.1/encode.h

index 6154da458e3d762c795bbf011f04c3f51bb21531..867c62103ca97b360b421a3c7ecd1811082b2ed9 100644 (file)
@@ -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, \