5 // Created by Richard Murphy on 1/29/15.
9 #ifndef _sec_SOSGenCount_
10 #define _sec_SOSGenCount_
12 #include <CoreFoundation/CoreFoundation.h>
14 typedef CFNumberRef SOSGenCountRef
;
16 int64_t SOSGetGenerationSint(SOSGenCountRef gen
);
17 SOSGenCountRef
SOSGenerationCreate(void);
18 SOSGenCountRef
SOSGenerationIncrementAndCreate(SOSGenCountRef gen
);
19 SOSGenCountRef
SOSGenerationCopy(SOSGenCountRef gen
);
20 bool SOSGenerationIsOlder(SOSGenCountRef current
, SOSGenCountRef proposed
);
22 void SOSGenerationCountWithDescription(SOSGenCountRef gen
, void (^operation
)(CFStringRef description
));
23 CFStringRef
SOSGenerationCountCopyDescription(SOSGenCountRef gen
);
25 #endif /* defined(_sec_SOSGenCount_) */