From 66ba2796615342ed62a83cb9fa660016bcbc2bd4 Mon Sep 17 00:00:00 2001 From: Paul Park Date: Thu, 8 Jun 1995 19:04:38 +0000 Subject: [PATCH] Add prototypes for logging routines git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5974 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 6 ++++++ src/include/krb5/adm_proto.h | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 24eedb285..f4c90f2c2 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,9 @@ + +Thu Jun 8 14:41:00 EDT 1995 Paul Park (pjpark@mit.edu) + * adm_proto.h - Add prototypes for logging routines. Also, if + kdb.h has not been included, add null structure for entry + data structure so that we don't strictly require kdb.h. + Wed Jun 7 16:23:51 1995 * Makefile.in: Process osconf.h using PREFIX and EXEC_PREFIX diff --git a/src/include/krb5/adm_proto.h b/src/include/krb5/adm_proto.h index c3327797e..11881340b 100644 --- a/src/include/krb5/adm_proto.h +++ b/src/include/krb5/adm_proto.h @@ -24,6 +24,14 @@ #ifndef KRB5_ADM_PROTO_H__ #define KRB5_ADM_PROTO_H__ +/* + * This is ugly, but avoids having to include k5-int or kdb.h for this. + */ +#ifndef KRB5_KDB5__ +struct _krb5_db_entry; +typedef struct _krb5_db_entry krb5_db_entry; +#endif /* KRB5_KDB5__ */ + /* * Function prototypes. */ @@ -111,4 +119,13 @@ krb5_error_code INTERFACE krb5_read_adm_reply krb5_int32 *, krb5_int32 *, krb5_data **)); + +/* logger.c */ +krb5_error_code krb5_klog_init + PROTOTYPE((krb5_context, + char *, + char *, + krb5_boolean)); +void krb5_klog_close PROTOTYPE((krb5_context)); +int krb5_klog_syslog PROTOTYPE((int, const char *, ...)); #endif /* KRB5_ADM_PROTO_H__ */ -- 2.26.2