this repo has no description
at fixPythonPipStalling 47 lines 1.3 kB view raw
1#include <ServiceManagement/ServiceManagement.h> 2 3#define STUB() (printf("STUB CALLED: %s:%i\n\t\t%s\n", __FILE__, __LINE__, __PRETTY_FUNCTION__)) 4 5const CFStringRef kSMDomainSystemLaunchd = CFSTR("kSMDomainSystemLaunchd"); 6 7const CFStringRef kSMDomainUserLaunchd = CFSTR("kSMDomainUserLaunchd"); 8 9const CFStringRef kSMErrorDomainIPC = CFSTR("kSMErrorDomainIPC"); 10 11const CFStringRef kSMErrorDomainFramework = CFSTR("kSMErrorDomainFramework"); 12 13const CFStringRef kSMErrorDomainLaunchd = CFSTR("kSMErrorDomainLaunchd"); 14 15CFDictionaryRef SMJobCopyDictionary(CFStringRef domain, CFStringRef jobLabel) { 16 STUB(); 17 return NULL; 18} 19 20CFArrayRef SMCopyAllJobDictionaries(CFStringRef domain) { 21 STUB(); 22 return NULL; 23} 24 25Boolean SMJobSubmit(CFStringRef domain, CFDictionaryRef job, AuthorizationRef auth, CFErrorRef *outError) { 26 STUB(); 27 return 1; 28} 29 30Boolean SMJobRemove(CFStringRef domain, CFStringRef jobLabel, AuthorizationRef auth, Boolean wait, CFErrorRef *outError) { 31 STUB(); 32 return 1; 33} 34 35#if !(TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR) 36 37Boolean SMJobBless(CFStringRef domain, CFStringRef executableLabel, AuthorizationRef auth, CFErrorRef *outError) { 38 STUB(); 39 return 1; 40} 41 42Boolean SMLoginItemSetEnabled(CFStringRef identifier, Boolean enabled) { 43 STUB(); 44 return 1; 45} 46 47#endif