From eb25f0a54683269b693e29d5a8b56ac5d2394ca2 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Fri, 8 Aug 1997 02:50:52 +0000 Subject: [PATCH] Add prototypes for warn functions. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2777 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/krb5/krb5.h b/lib/krb5/krb5.h index aa00273d7..567293a77 100644 --- a/lib/krb5/krb5.h +++ b/lib/krb5/krb5.h @@ -236,6 +236,8 @@ typedef struct krb5_cc_ops{ krb5_error_code (*set_flags)(krb5_context, krb5_ccache, krb5_flags); } krb5_cc_ops; +struct krb5_log_facility; + typedef struct krb5_context_data{ krb5_enctype *etypes; char *default_realm; @@ -243,6 +245,7 @@ typedef struct krb5_context_data{ time_t kdc_timeout; krb5_config_section *cf; struct error_table *et_list; + struct krb5_log_facility *warn_dest; krb5_cc_ops *cc_ops; int num_ops; } krb5_context_data; @@ -411,6 +414,9 @@ krb5_log_msg(krb5_context context, ...); +krb5_error_code krb5_warn(krb5_context, krb5_error_code, const char*, ...); +krb5_error_code krb5_warnx(krb5_context, const char*, ...); +krb5_error_code krb5_set_warn_dest(krb5_context, krb5_log_facility*); krb5_error_code