summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorPaul Park <pjpark@mit.edu>1995-06-08 19:04:38 +0000
committerPaul Park <pjpark@mit.edu>1995-06-08 19:04:38 +0000
commit66ba2796615342ed62a83cb9fa660016bcbc2bd4 (patch)
treeed9603ee754909653ff7fc6063ef4e7052807c62 /src/include
parentb16629b3137744ff1727f3c9ba50d7d8fb245ecc (diff)
downloadkrb5-66ba2796615342ed62a83cb9fa660016bcbc2bd4.tar.gz
krb5-66ba2796615342ed62a83cb9fa660016bcbc2bd4.tar.xz
krb5-66ba2796615342ed62a83cb9fa660016bcbc2bd4.zip
Add prototypes for logging routines
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5974 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/ChangeLog6
-rw-r--r--src/include/krb5/adm_proto.h17
2 files changed, 23 insertions, 0 deletions
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 <tytso@rsx-11.mit.edu>
* 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
@@ -25,6 +25,14 @@
#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__ */