/*
- * Copyright (c) 2008 Apple Inc. All rights reserved.
+ * Copyright (c) 2009 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* @APPLE_LICENSE_HEADER_END@
*/
/* CFData.h
- Copyright (c) 1998-2007, Apple Inc. All rights reserved.
+ Copyright (c) 1998-2009, Apple Inc. All rights reserved.
*/
#if !defined(__COREFOUNDATION_CFDATA__)
CF_EXPORT
void CFDataDeleteBytes(CFMutableDataRef theData, CFRange range);
+#if MAC_OS_X_VERSION_10_6 <= MAC_OS_X_VERSION_MAX_ALLOWED
+enum {
+ kCFDataSearchBackwards = 1UL << 0,
+ kCFDataSearchAnchored = 1UL << 1
+};
+#endif
+typedef CFOptionFlags CFDataSearchFlags;
+
+CF_EXPORT
+CFRange CFDataFind(CFDataRef theData, CFDataRef dataToFind, CFRange searchRange, CFDataSearchFlags compareOptions) AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
+
CF_EXTERN_C_END
#endif /* ! __COREFOUNDATION_CFDATA__ */