summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ChangeLog5
-rw-r--r--src/include/k5-int.h4
2 files changed, 9 insertions, 0 deletions
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 <raeburn@mit.edu>
+
+ * k5-int.h: Include k5-thread.h.
+ (struct krb5_rc_st): Add a mutex.
+
2004-04-29 Ken Raeburn <raeburn@mit.edu>
* 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 {