rxkad-prototypes-20081129
[openafs.git] / src / rxkad / rxkad_prototypes.h
index b7ce307..21c6e57 100644 (file)
@@ -31,7 +31,7 @@ extern int fc_keysched(struct ktc_encryptionKey *key,
 extern afs_int32 fc_ecb_encrypt(void * clear, void * cipher,
                                fc_KeySchedule schedule, int encrypt);
 extern afs_int32 fc_cbc_encrypt(void *input, void *output, afs_int32 length,
-                               fc_KeySchedule key, afs_uint32 * xor,
+                               fc_KeySchedule key, afs_uint32 * iv,
                                int encrypt);
 
 /* rxkad_client.c */
@@ -78,18 +78,19 @@ 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 */
 extern struct rx_securityClass *rxkad_NewServerSecurityObject(rxkad_level
-                                                             level, char
+                                                             level, void
                                                              *get_key_rock,
                                                              int (*get_key)
 
 
                                                               
-                                                             (char
+                                                             (void
                                                               *get_key_rock,
                                                               int kvno,
                                                               struct
@@ -120,8 +121,10 @@ extern afs_int32 rxkad_GetServerInfo(struct rx_connection *aconn,
                                     afs_uint32 * expiration, char *name,
                                     char *instance, char *cell,
                                     afs_int32 * kvno);
-
-
+extern afs_int32 rxkad_SetConfiguration(struct rx_securityClass *aobj,
+                                        struct rx_connection *aconn, 
+                                        rx_securityConfigVariables atype,
+                                        void * avalue, void **aresult);
 
 /* ticket.c */
 extern int tkt_DecodeTicket(char *asecret, afs_int32 ticketLen,
@@ -147,6 +150,6 @@ extern int tkt_DecodeTicket5(char *ticket, afs_int32 ticket_len,
                             char *get_key_rock, int serv_kvno, char *name,
                             char *inst, char *cell, char *session_key,
                             afs_int32 * host, afs_int32 * start,
-                            afs_int32 * end);
+                            afs_int32 * end, afs_int32 disableDotCheck);
 
 #endif