Added declarations for krb5_sendauth() and krb5_recvauth()
authorTheodore Tso <tytso@mit.edu>
Thu, 28 Mar 1991 17:49:13 +0000 (17:49 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 28 Mar 1991 17:49:13 +0000 (17:49 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1952 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/func-proto.h

index 9914b127aae8c840a1a6c24886a56faba4cc1e34..37e3fb01084c541436d25664d524a33fdf431820 100644 (file)
@@ -312,27 +312,27 @@ krb5_error_code krb5_decode_kdc_rep
                   const krb5_enctype,
                   krb5_kdc_rep ** ));
 
+typedef krb5_error_code (*krb5_rdreq_key_proc) PROTOTYPE((krb5_pointer, 
+                                                         krb5_principal,
+                                                         krb5_kvno,
+                                                         krb5_keyblock **));
+       
 krb5_error_code krb5_rd_req
        PROTOTYPE((const krb5_data *,
                   krb5_const_principal,
                   const krb5_address *,
                   krb5_const_pointer,
-                  krb5_error_code (* )(krb5_pointer,
-                                       krb5_principal,
-                                       krb5_kvno,
-                                       krb5_keyblock ** ),
+                  krb5_rdreq_key_proc,
                   krb5_pointer,
                   krb5_rcache,
                   krb5_tkt_authent ** ));
+
 krb5_error_code krb5_rd_req_decoded
        PROTOTYPE((const krb5_ap_req *,
                   krb5_const_principal,
                   const krb5_address *,
                   krb5_const_pointer,
-                  krb5_error_code (* )(krb5_pointer,
-                                       krb5_principal,
-                                       krb5_kvno,
-                                       krb5_keyblock ** ),
+                  krb5_rdreq_key_proc,
                   krb5_pointer,
                   krb5_rcache,
                   krb5_tkt_authent ** ));
@@ -365,6 +365,34 @@ krb5_error_code krb5_cc_register
        PROTOTYPE((krb5_cc_ops *,
                   krb5_boolean ));
 
+krb5_error_code krb5_sendauth PROTOTYPE((void *,
+                                        char *,
+                                        krb5_principal,
+                                        krb5_principal,
+                                        krb5_flags,
+                                        krb5_checksum *,
+                                        krb5_creds *,
+                                        krb5_ccache,
+                                        krb5_int32 *,
+                                        krb5_keyblock **,
+                                        krb5_error **,
+                                        krb5_ap_rep_enc_part **));
+       
+krb5_error_code krb5_recvauth PROTOTYPE((void *,
+                                        char *,
+                                        krb5_principal,
+                                        krb5_address *,
+                                        krb5_pointer,
+                                        krb5_rdreq_key_proc,
+                                        krb5_pointer,
+                                        char *,
+                                        krb5_int32 *,
+                                        krb5_principal*,
+                                        krb5_ticket **,
+                                        krb5_authenticator **));
+
+
+
 #include <krb5/narrow.h>
 
 #endif /* KRB5_FUNC_PROTO__ */