From 4c8485b11bb27a3763a8f0058547ee7ac84556fe Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Wed, 20 Aug 2008 18:58:04 +0000 Subject: Add support to send CFNotifications on ccache and cache collection changes ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20679 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/CredentialsCache.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/include') diff --git a/src/include/CredentialsCache.h b/src/include/CredentialsCache.h index 430157643..cd573e710 100644 --- a/src/include/CredentialsCache.h +++ b/src/include/CredentialsCache.h @@ -29,6 +29,16 @@ #if defined(macintosh) || (defined(__MACH__) && defined(__APPLE__)) #include + +/* Notifications which are sent when the ccache collection or a ccache change. + * Notifications are sent to the distributed notification center. + * The object for kCCAPICacheCollectionChangedNotification is NULL. + * The object for kCCAPICCacheChangedNotification is a CFString containing the + * name of the ccache. + * + * Note: Notifications are not sent if the CCacheServer crashes. */ +#define kCCAPICacheCollectionChangedNotification CFSTR ("CCAPICacheCollectionChangedNotification") +#define kCCAPICCacheChangedNotification CFSTR ("CCAPICCacheChangedNotification") #endif #if defined(_WIN32) -- cgit