CFBundle_SplitFileName.h
1 /* CFBundle_SplitFileName.h 2 Copyright (c) 2019, Apple Inc. All rights reserved. 3 */ 4 5 #ifndef CFBundle_SplitFileName_h 6 #define CFBundle_SplitFileName_h 7 8 #include <CoreFoundation/CFString.h> 9 10 typedef enum { 11 _CFBundleFileVersionNoProductNoPlatform = 1, 12 _CFBundleFileVersionWithProductNoPlatform, 13 _CFBundleFileVersionNoProductWithPlatform, 14 _CFBundleFileVersionWithProductWithPlatform, 15 _CFBundleFileVersionUnmatched 16 } _CFBundleFileVersion; 17 18 CF_PRIVATE void _CFBundleSplitFileName(CFStringRef fileName, CFStringRef *noProductOrPlatform, CFStringRef *endType, CFStringRef *startType, CFStringRef expectedProduct, CFStringRef expectedPlatform, Boolean searchForFallbackProduct, _CFBundleFileVersion *version); 19 20 #endif /* CFBundle_SplitFileName_h */