diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2008-08-20 18:58:04 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2008-08-20 18:58:04 +0000 |
commit | 4c8485b11bb27a3763a8f0058547ee7ac84556fe (patch) | |
tree | cb16876ecc19383107b05b128480de3dd534854a /src/include/CredentialsCache.h | |
parent | 7ac8c2023422a829a3fdfa81b576a2910c232458 (diff) | |
download | krb5-4c8485b11bb27a3763a8f0058547ee7ac84556fe.zip krb5-4c8485b11bb27a3763a8f0058547ee7ac84556fe.tar.gz krb5-4c8485b11bb27a3763a8f0058547ee7ac84556fe.tar.bz2 |
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
Diffstat (limited to 'src/include/CredentialsCache.h')
-rw-r--r-- | src/include/CredentialsCache.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/CredentialsCache.h b/src/include/CredentialsCache.h index 4301576..cd573e7 100644 --- a/src/include/CredentialsCache.h +++ b/src/include/CredentialsCache.h @@ -29,6 +29,16 @@ #if defined(macintosh) || (defined(__MACH__) && defined(__APPLE__)) #include <TargetConditionals.h> + +/* 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) |