summaryrefslogtreecommitdiffstats
path: root/src/kdc/kdc_util.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2008-12-22 04:40:39 +0000
committerKen Raeburn <raeburn@mit.edu>2008-12-22 04:40:39 +0000
commit51ea86b7519d3ed5c10135529726a37c1b5d9709 (patch)
treeb48dbbfd7af7c0ae37a2ab7b17aaded6c0f744f3 /src/kdc/kdc_util.h
parent07898368fca08de4fcc33fee270ec6acf853b5f3 (diff)
downloadkrb5-51ea86b7519d3ed5c10135529726a37c1b5d9709.tar.gz
krb5-51ea86b7519d3ed5c10135529726a37c1b5d9709.tar.xz
krb5-51ea86b7519d3ed5c10135529726a37c1b5d9709.zip
Collect ticket-request logging calls together in one place for easier
customization. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21564 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc/kdc_util.h')
-rw-r--r--src/kdc/kdc_util.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/kdc/kdc_util.h b/src/kdc/kdc_util.h
index ca644ac6d..a38995516 100644
--- a/src/kdc/kdc_util.h
+++ b/src/kdc/kdc_util.h
@@ -188,6 +188,21 @@ get_principal (krb5_context kcontext,
krb5_const_principal search_for,
krb5_db_entry *entries, int *nentries, krb5_boolean *more);
+void
+log_as_req(const krb5_fulladdr *from,
+ krb5_kdc_req *request, krb5_kdc_rep *reply,
+ const char *cname, const char *sname,
+ krb5_timestamp authtime,
+ const char *status, krb5_error_code errcode, const char *emsg);
+void
+log_tgs_req(const krb5_fulladdr *from,
+ krb5_kdc_req *request, krb5_kdc_rep *reply,
+ const char *cname, const char *sname, const char *altcname,
+ krb5_timestamp authtime,
+ const char *status, krb5_error_code errcode, const char *emsg);
+void log_tgs_alt_tgt(krb5_principal p);
+
+
#define isflagset(flagfield, flag) (flagfield & (flag))
#define setflag(flagfield, flag) (flagfield |= (flag))
#define clear(flagfield, flag) (flagfield &= ~(flag))