Add prototypes for logging routines
authorPaul Park <pjpark@mit.edu>
Thu, 8 Jun 1995 19:04:38 +0000 (19:04 +0000)
committerPaul Park <pjpark@mit.edu>
Thu, 8 Jun 1995 19:04:38 +0000 (19:04 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5974 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/ChangeLog
src/include/krb5/adm_proto.h

index 24eedb28590749b67ac61ac9654f0839c92e7bcf..f4c90f2c29c7d1817456d92b5426bb10fc195d49 100644 (file)
@@ -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
index c3327797e208c31f1109b2215b9b8cf5f5fef973..11881340b02081f7c5424eda159b861d37adf25c 100644 (file)
 #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__ */