1/* 2 * MISEntitlements.h 3 * Constants and interfaces for dealing with entitlements 4 */ 5 6#ifndef MISENTITLEMENT_H 7#define MISENTITLEMENT_H 8 9#include <MISBase.h> 10 11#include <CoreFoundation/CoreFoundation.h> 12 13 14/* Return an array of all known entitlements */ 15MIS_EXPORT CFArrayRef MISEntitlementCopyAllEntitlements(void); 16 17/* 18 * Check if the entitlement dictionary permits an entitlement to have the 19 * given value 20 */ 21Boolean MISEntitlementDictionaryAllowsEntitlementValue(CFDictionaryRef entitlements, CFStringRef entitlement, CFTypeRef value); 22 23#endif 24