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