• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-ServiceManagement-2.5.1/Lib/ServiceManagement/
1# This file is generated by objective.metadata
2#
3# Last update: Mon Sep 24 11:20:59 2012
4
5import objc, sys
6
7if sys.maxsize > 2 ** 32:
8    def sel32or64(a, b): return b
9else:
10    def sel32or64(a, b): return a
11if sys.byteorder == 'little':
12    def littleOrBig(a, b): return a
13else:
14    def littleOrBig(a, b): return b
15
16misc = {
17}
18constants = '''$kSMDomainSystemLaunchd@^{__CFString=}$kSMDomainUserLaunchd@^{__CFString=}$kSMErrorDomainFramework@^{__CFString=}$kSMErrorDomainIPC@^{__CFString=}$kSMErrorDomainLaunchd@^{__CFString=}$kSMInfoKeyAuthorizedClients@^{__CFString=}$kSMInfoKeyPrivilegedExecutables@^{__CFString=}$'''
19enums = '''$kSMErrorAuthorizationFailure@4$kSMErrorInternalFailure@2$kSMErrorInvalidSignature@3$kSMErrorJobMustBeEnabled@9$kSMErrorJobNotFound@6$kSMErrorJobPlistNotFound@8$kSMErrorServiceUnavailable@7$kSMErrorToolNotValid@5$'''
20misc.update({'kSMRightModifySystemDaemons': b'com.apple.ServiceManagement.daemons.modify', 'kSMRightBlessPrivilegedHelper': b'com.apple.ServiceManagement.blesshelper'})
21functions={'SMJobBless': (b'Z^{__CFString=}^{__CFString=}^{AuthorizationOpaqueRef=}^^{__CFError}', '', {'arguments': {3: {'already_cfretained': True, 'type_modifier': 'o', 'null_accepted': True}}}), 'SMJobRemove': (b'Z^{__CFString=}^{__CFString=}^{AuthorizationOpaqueRef=}Z^^{__CFError}', '', {'arguments': {4: {'already_cfretained': True, 'type_modifier': 'o', 'null_accepted': True}}}), 'SMJobCopyDictionary': (b'^{__CFDictionary=}^{__CFString=}^{__CFString=}', '', {'retval': {'already_cfretained': True}}), 'SMJobSubmit': (b'Z^{__CFString=}^{__CFDictionary=}^{AuthorizationOpaqueRef=}^^{__CFError}', '', {'arguments': {3: {'already_cfretained': True, 'type_modifier': 'o', 'null_accepted': True}}}), 'SMLoginItemSetEnabled': (b'Z^{__CFString=}Z',), 'SMCopyAllJobDictionaries': (b'^{__CFArray=}^{__CFString=}', '', {'retval': {'already_cfretained': True}})}
22expressions = {}
23
24# END OF FILE
25