/*
- * Copyright (c) 2000, 2001, 2003, 2004, 2006, 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2000, 2001, 2003, 2004, 2006, 2009, 2011 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
#define kSCDSessionKeys CFSTR("sessionKeys")
-extern int storeLocked;
extern CFMutableDictionaryRef storeData;
extern CFMutableDictionaryRef sessionData;
extern CFMutableDictionaryRef patternData;
extern CFMutableSetRef removedSessionKeys;
extern CFMutableSetRef needsNotification;
-extern CFMutableDictionaryRef storeData_s;
-extern CFMutableDictionaryRef patternData_s;
-extern CFMutableSetRef changedKeys_s;
-extern CFMutableSetRef deferredRemovals_s;
-extern CFMutableSetRef removedSessionKeys_s;
-
__BEGIN_DECLS
__SCDynamicStoreOpen (SCDynamicStoreRef *store,
CFStringRef name);
int
-__SCDynamicStoreClose (SCDynamicStoreRef *store,
- Boolean internal);
+__SCDynamicStoreClose (SCDynamicStoreRef *store);
int
-__SCDynamicStoreLock (SCDynamicStoreRef store,
- Boolean recursive);
-
-int
-__SCDynamicStoreUnlock (SCDynamicStoreRef store,
- Boolean recursive);
+__SCDynamicStorePush (void);
int
__SCDynamicStoreCopyKeyList (SCDynamicStoreRef store,
int
__SCDynamicStoreAddValue (SCDynamicStoreRef store,
CFStringRef key,
- CFDataRef value,
- Boolean internal);
+ CFDataRef value);
int
__SCDynamicStoreCopyValue (SCDynamicStoreRef store,
CFStringRef key,
Boolean internal);
-int
-__SCDynamicStoreTouchValue (SCDynamicStoreRef store,
- CFStringRef key);
-
int
__SCDynamicStoreNotifyValue (SCDynamicStoreRef store,
CFStringRef key,
int
__SCDynamicStoreNotifyCancel (SCDynamicStoreRef store);
-void
-_swapLockedStoreData (void);
-
void
_addWatcher (CFNumberRef sessionNum,
CFStringRef watchedKey);