From a4f8e8baa568d752f3a4efc94827f10bd14bfc95 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 30 Apr 2004 22:53:38 +0000 Subject: [PATCH] * k5-int.h: Include k5-thread.h. (struct krb5_rc_st): Add a mutex. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16289 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 5 +++++ src/include/k5-int.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index d242da499..3e75c77f6 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +2004-04-30 Ken Raeburn + + * k5-int.h: Include k5-thread.h. + (struct krb5_rc_st): Add a mutex. + 2004-04-29 Ken Raeburn * k5-platform.h (DELAY_INITIALIZER): Don't define. diff --git a/src/include/k5-int.h b/src/include/k5-int.h index bd79b6804..a3ebcdd18 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -186,6 +186,9 @@ struct sockaddr; #endif #endif +/* Get mutex support; currently used only for the replay cache. */ +#include "k5-thread.h" + /* krb5/krb5.h includes many other .h files in the krb5 subdirectory. The ones that it doesn't include, we include below. */ @@ -1809,6 +1812,7 @@ struct krb5_rc_st { krb5_magic magic; const struct _krb5_rc_ops *ops; krb5_pointer data; + k5_mutex_t lock; }; typedef struct _krb5_donot_replay { -- 2.26.2