From: John Kohl Date: Mon, 26 Mar 1990 14:09:34 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: krb5-1.0-alpha2~977 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bb6ebe8667eac2e2c6be10ff645c39416a8120a6;p=krb5.git *** empty log message *** git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@411 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/free.h b/src/include/krb5/free.h new file mode 100644 index 000000000..a891e5303 --- /dev/null +++ b/src/include/krb5/free.h @@ -0,0 +1,49 @@ +/* + * $Source$ + * $Author$ + * $Id$ + * + * Copyright 1990 by the Massachusetts Institute of Technology. + * + * For copying and distribution information, please see the file + * . + * + * definitions for free routines + */ + +#include + +#ifndef KRB5_FREE__ +#define KRB5_FREE__ + +/* to keep lint happy */ +#define xfree(val) free((char *)(val)) + +#define krb5_free_data(val) { xfree((val)->data); xfree(val);} + +#define krb5_free_ap_rep_enc_part xfree + +/* krb5_free.c */ +void krb5_free_checksum PROTOTYPE((krb5_checksum *)); +void krb5_free_keyblock PROTOTYPE((krb5_keyblock *)); +void krb5_free_principal PROTOTYPE((krb5_principal )); +void krb5_free_authenticator PROTOTYPE((krb5_authenticator *)); +void krb5_free_address PROTOTYPE((krb5_address **)); +void krb5_free_authdata PROTOTYPE((krb5_authdata **)); +void krb5_free_enc_tkt_part PROTOTYPE((krb5_enc_tkt_part *)); +void krb5_free_ticket PROTOTYPE((krb5_ticket *)); +void krb5_free_as_req PROTOTYPE((krb5_as_req *)); +void krb5_free_kdc_rep PROTOTYPE((krb5_kdc_rep *)); +void krb5_free_last_req PROTOTYPE((krb5_last_req_entry **)); +void krb5_free_enc_kdc_rep_part PROTOTYPE((krb5_enc_kdc_rep_part *)); +void krb5_free_error PROTOTYPE((krb5_error *)); +void krb5_free_ap_req PROTOTYPE((krb5_ap_req *)); +void krb5_free_ap_rep PROTOTYPE((krb5_ap_rep *)); +void krb5_free_tgs_req PROTOTYPE((krb5_tgs_req *)); +void krb5_free_real_tgs_req PROTOTYPE((krb5_real_tgs_req *)); +void krb5_free_tgs_req_enc_part PROTOTYPE((krb5_tgs_req_enc_part *)); +void krb5_free_safe PROTOTYPE((krb5_safe *)); +void krb5_free_priv PROTOTYPE((krb5_priv *)); +void krb5_free_priv_enc_part PROTOTYPE((krb5_priv_enc_part *)); + +#endif /* KRB5_FREE__ */