rxkad: Remove DES include from header file
[openafs.git] / src / rxkad / rxkad_prototypes.h
index 36b8938..9fa059f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2000, International Business Machines Corporation and others.
  * All Rights Reserved.
- * 
+ *
  * This software has been released under the terms of the IBM Public
  * License.  For details, see the LICENSE file in the top-level source
  * directory or online at http://www.openafs.org/dl/license10.html
 #include "fcrypt.h"
 #include "rx/rx.h"
 
-/* Don't include des.h where it can cause conflict with krb4 headers */
-#if !defined(NO_DES_H_INCLUDE)
-#include <des.h>
-#endif
-
 /* crypt_conn.c */
 extern afs_int32 rxkad_DecryptPacket(const struct rx_connection *conn,
                                     const fc_KeySchedule * schedule,
@@ -55,6 +50,8 @@ extern int rxkad_GetResponse(struct rx_securityClass *aobj,
 extern void rxkad_ResetState(void);
 
 /* rxkad_common.c */
+extern void rxkad_Init(void);
+
 struct rxkad_endpoint;
 extern int rxkad_SetupEndpoint(struct rx_connection *aconnp,
                               struct rxkad_endpoint *aendpointp);
@@ -83,8 +80,6 @@ extern int rxkad_GetStats(struct rx_securityClass *aobj,
 extern rxkad_level rxkad_StringToLevel(char *string);
 extern char *rxkad_LevelToString(rxkad_level level);
 
-extern void rxkad_global_stats_init(void);
-
 /* rxkad_errs.c */
 
 /* rxkad_server.c */
@@ -94,7 +89,7 @@ extern struct rx_securityClass *rxkad_NewServerSecurityObject(rxkad_level
                                                              int (*get_key)
 
 
-                                                              
+
                                                              (void
                                                               *get_key_rock,
                                                               int kvno,
@@ -104,7 +99,7 @@ extern struct rx_securityClass *rxkad_NewServerSecurityObject(rxkad_level
                                                              int (*user_ok)
 
 
-                                                              
+
                                                              (char *name,
                                                               char
                                                               *instance,
@@ -127,7 +122,7 @@ extern afs_int32 rxkad_GetServerInfo(struct rx_connection *aconn,
                                     char *instance, char *cell,
                                     afs_int32 * kvno);
 extern afs_int32 rxkad_SetConfiguration(struct rx_securityClass *aobj,
-                                        struct rx_connection *aconn, 
+                                        struct rx_connection *aconn,
                                         rx_securityConfigVariables atype,
                                         void * avalue, void **aresult);
 
@@ -161,22 +156,4 @@ extern int tkt_DecodeTicket5(char *ticket, afs_int32 ticket_len,
                             afs_int32 * host, afs_uint32 * start,
                             afs_uint32 * end, afs_int32 disableDotCheck);
 
-#if !defined(NO_DES_H_INCLUDE)
-static_inline unsigned char *
-ktc_to_cblock(struct ktc_encryptionKey *key) {
-    return (unsigned char *)key;
-}
-
-static_inline char *
-ktc_to_charptr(struct ktc_encryptionKey *key) {
-    return (char *)key;
-}
-
-static_inline des_cblock *
-ktc_to_cblockptr(struct ktc_encryptionKey *key) {
-    return (des_cblock *)key;
-}
-#endif
-
-
 #endif