if (gKerberos5SystemDefaultCacheName != nil)
DisposePtr (gKerberos5SystemDefaultCacheName);
gKerberos5SystemDefaultCacheName = newName;
+ gKerberos5SystemDefaultCacheNameModification++;
return noErr;
}
}
return err;
+}
+
+/*
+ * Return the modification number
+ */
+
+UInt32
+Krb5GlobalsGetDefaultCacheNameModification ()
+{
+ return gKerberos5SystemDefaultCacheNameModification;
}
\ No newline at end of file
Krb5GlobalsSetDefaultCacheName
Krb5GlobalsGetDefaultCacheName
Krb5GlobalsSetUniqueDefaultCacheName
+Krb5GlobalsGetDefaultCacheNameModification
OSStatus
Krb5GlobalsSetUniqueDefaultCacheName ();
+
+/*
+ * Get modification number
+ *
+ * Modification number changes whenever default cache name changes
+ */
+
+UInt32
+Krb5GlobalsGetDefaultCacheNameModification ();
#if defined(__CFM68K__) && !defined(__USING_STATIC_LIBS__)
# pragma import reset
#include "Krb5GlobalsData.h"
UInt32 gKerberos5GlobalsRefCount = 0;
+UInt32 gKerberos5SystemDefaultCacheNameModification = 0;
char* gKerberos5SystemDefaultCacheName = nil;
gKerberos5GlobalsRefCount
gKerberos5SystemDefaultCacheName
+gKerberos5SystemDefaultCacheNameModification
extern UInt32 gKerberos5GlobalsRefCount;
extern char* gKerberos5SystemDefaultCacheName;
+extern UInt32 gKerberos5SystemDefaultCacheNameModification;
#if defined(__CFM68K__) && !defined(__USING_STATIC_LIBS__)
# pragma import reset