1 #ifndef _KDB2_XDR_H 2 #define _KDB2_XDR_H 3 4 #include "kdb.h" 5 6 krb5_error_code 7 krb5_encode_princ_dbkey( krb5_context context, 8 krb5_data *key, 9 krb5_const_principal principal); 10 11 krb5_error_code 12 krb5_decode_princ_contents( krb5_context context, 13 krb5_data * content, 14 krb5_db_entry * entry); 15 16 void 17 krb5_dbe_free_contents( krb5_context context, 18 krb5_db_entry * entry); 19 20 krb5_error_code 21 krb5_encode_princ_contents( krb5_context context, 22 krb5_data * content, 23 krb5_db_entry * entry); 24 25 26 void 27 krb5_free_princ_dbkey( krb5_context context, 28 krb5_data *key); 29 30 void 31 krb5_free_princ_contents( krb5_context context, 32 krb5_data *contents); 33 34 #endif 35